HNHacker News
TopNewBestAskShowJobs

dfcowell

772 karma · joined August 18, 2014

submissionscomments
dfcowell··on What is wrong with Microsoft buying GitHub
Microsoft don't have a competing product in their portfolio to extinguish Github in favour of - and any overt moves like kicking projects off the platform would instantly torpedo any value the acquisition brought as every single project left the service in protest.

I don't really see how anything other than being perfect stewards of Github works out in their favour.

dfcowell··on What is wrong with Microsoft buying GitHub
Realistically, out of all of the BigCorps who could have bought it (and who have deep enough pockets to sustain its bleeding,) Microsoft is one of the best of a bad bunch.

I'm not quite as cynical as the author of the OP when it comes to Microsoft's recent apparent change of direction, but who knows, that may just be naivety speaking.

dfcowell··on 1.1.1.1 outage explanation
Not to mention selectively purging all of the rules created (I assume) at every edge server in their network that were blackholing all of the traffic to the resolver. There's probably a command for it, but all in all 17 minutes seems quite a respectable turnaround time.
dfcowell··on Gallery of programming UIs
It's here if you want to poke at it: https://github.com/witheve/eve-experiments/tree/af13f8d5f8a5...
dfcowell··on Gaijin Engineer in Tokyo
Oh, don't be daft. You're comparing the way people act and speak on Facebook with how they are expected to act in a formal setting such as work?

Totally different ball game.

dfcowell··on Google Cloud Platform’s new interactive CLI
Feels... PowerShellish.
dfcowell··on RIP Google, a ‘Search Engine’ from 1998-2018
4) they are still showing ads on the page.
dfcowell··on Ask HN: How to help someone going through depression?
It's very easy to be afraid of approaching or pushing someone in that state to see you, out of fear of pushing them away. Two weeks ago I lost a friend (who was in an eerily similar situation to your friend) to suicide. I am finding it incredibly hard to forgive myself for not doing more, or pushing harder.

I fell into the trap of thinking that being more persistent in outreach would ultimately hurt more than it helped.

If you're in a society with suicide helplines, or social services that are affordable, I'd recommend reaching out to them for advice on how to get through to your friend. It's impossible to know how close to the edge he might be, but members of those organizations who speak to depressed or suicidal people on a daily basis may be able to provide you with advice on how to handle outreach, especially since he may not be reaching out to them directly.

It's unlikely that he will be open to engaging in a group situation. Reach out one-on-one, or visit in person.

Don't make the same mistake I did. My friend secluded himself out of the dumb idea that time apart would make his eventual suicide easier on his friends. It didn't, and there's nothing I can do now.

dfcowell··on Predicting Starman’s Return to Earth
The same reason they didn't put any other kind of valuable payload on the rocket. They didn't know if it would blow up on launch or not, so didn't invest in fitting anything. Most test launches like this (all?) just use a steel block for the dummy payload.
dfcowell··on Show HN: Online web tools to get your work done faster
"Bad bots" are reading HTML source code and will find your email address anyway.
dfcowell··on The Lost Art of Staying Put
I've been living in Saigon for 4 years. Even within this highly touristed city, you just need to venture 5 minutes outside of the city centre to see Vietnam as it really is.

I've spent time in 5-6 different cities and towns and for sure, if you stay on main street it's very generic, or sterile. Rent a bike, set out in a random direction for 20 minutes; you won't find any TripAdvisor listings but the local culture is alive and well.

Most people expect to land somewhere new and have the local lifestyle at their fingertips, but that's not what the beaten track optimises for.

dfcowell··on So Close
Why is what you have not a "small business?" Is that phrase just not sexy enough?

Being a stable bootstrapped small business is more worthy of respect than being an unstable underfunded startup, in my opinion.

dfcowell··on Nazis Killed Her Husband, She Bought and Drove a T-34 and Then Went on a Rampage
> For this purpose, I’ve deposited all my personal savings – 50,000 rubles – to the National Bank in order to build a tank. I kindly ask to name the tank ‘Fighting Girlfriend’ and to send me to the frontline as a driver of said tank.

Not that I have any idea how close 50,000 rubles would get you to a tank back then, but it seems she at least contributed to the cost of building it.

dfcowell··on Her six-hour commute each day seems crazy, but her affordable rent is not
The word in Japanese is karoshi, literally "death from overwork."

"Death march" as commonly used in English-speaking nations is typically used as hyperbole or dark humour, whereas in Japan "karoshi" is used in a clinical sense for documented cause of death.

dfcowell··on Recycling Chaos in U.S. As China Bans 'Foreign Waste'
>and you can tell how old a beer bottle is by how deep the rings are (where the machine rolls it around to scan it).

That's what the person you replied to is talking about. Here in Vietnam, like Germany, they refill used beer bottles. You can tell a new bottle from old based on the scuff marks the machinery leaves on the glass, which build up over time. These are the "rings" the GP is referring to.

dfcowell··on Ask HN: How is your JavaScript based backend organized?
- Data migrations: Knex.js

- Deployment: Every repo contains a "deployment" directory with a dir each for "staging" and "production" with all of the Kubernetes manifests (deployment, service, configmap etc.) necessary. Everything except secrets, which are managed manually. These declarative configs get applied to our cluster by gitlab-ci.

- ORM: You're probably not going to like this as a rails guy, but I've moved away from full, ActiveRecord-style ORMs. They don't work particularly well for my use cases and I enjoy the flexibility and control a thinner library like knex gives me.

- Background tasks: These are implemented as standalone apps running in our cluster, either as deployed workers subscribed to a Google Cloud Pub/Sub queue or scheduled jobs deployed using the Kubernetes cronjob functionality.

APIs: Express for basically everything HTTP. A lot more of our stuff is moving to PubSub for inter-service communication.

- Front-end templates: Everything is server-side rendered React. We run separate front and back end servers, scaled independently. The Kubernetes ingress handles routing to the SSR/React app and API app as necessary.

dfcowell··on How we saved money by replacing Mixpanel with BigQuery and K8S
That doesn't help for all kinds of data analysis - frequency analysis of a given interaction is one example.
dfcowell··on What MongoDB got right (2015)
We're going through hell right now because the system I inherited uses Mongo for order/transaction/inventory data which benefits HUGELY from being stored in an ACID-compliant database, even when you ignore the fact that the data is highly relational and perfectly suited to a "boring" SQL DB.

Mongo has its place, but its place isn't in most line-of-business applications for SMEs.

"Pick the right tool for the job" has been the biggest casualty in the midst of the schemaless hype we're going through right now.

dfcowell··on A CMS with no server and 18 lines of configuration
I imagine it would scale about as well as the git* API backing it up, given that the content list etc. are all pulled from the git host's API (Github in this case).

I like the way it uses pull requests to handle drafts. A couple of clever build scripts in the repo would make for a pretty sweet deployment workflow.

I'm not super keen on the way it stores uploaded assets though. I understand the benefit of simplicity in only targeting a single API, but it would be nice to target a cloud hosting service (like GCE/AWS storage) for asset uploads.

dfcowell··on OK, Now I'll Learn How to Program in JavaScript
I had a dependency for a project that was really good. Had 90% of the features I needed, was fast, reliable... I just needed one feature it didn't have, which was a good fit for the package.

The other options that did what I needed weren't as good, for other reasons.

Since I was going to have to write the code somewhere, I figured I'd fork the repo and maintain my own version. After I did that I realised my changes needed testing and documentation for other people on my team.

After that, a pull request was just a click of a button.

dfcowell··on What's your salary?
That's about right per year for a junior in Vietnam.

Saigon the wages can be a bit higher.

dfcowell··on SpaceX BFR [video]
It can be if the fuel is synthesized from carbon dioxide in the atmosphere with solar as a power source.
dfcowell··on iPhone X
...and charge it how? If it's in active use recording there's a decent chance it would be nice to charge and record at the same time.
dfcowell··on How I, a woman in tech, benefited from sexism in Silicon Valley
I'd generalise a bit and say that anyone running for political office should show evidence for claims of fact, purely because supporting claims with evidence is a critical part of running a rational and informed society.

If you don't want to provide proof, don't make claims.

dfcowell··on Why I’m dumping Firebase for Web
I had to increase our quota of layer 7 load balancer backends recently on GCP, submitted the request and the quota was increased within minutes. YMMV though, I guess?
dfcowell··on JavaScript for People Who Hate JavaScript
I agree with this. When the library docs and examples are in the native language (ES*) it's easier for developers unfamiliar with the code base to get on board.

We've switched to Typescript for our React projects because we've found it's the sweet spot between developer perks (type checking, static analysis, intellisense, inline lint errors) and abstraction of the actual code running in production. It's also a lot less of a readjustment to make if you need to dive into the transpiled source to track down a subtle or unusual bug.

dfcowell··on Rebass – Functional React UI component library built with styled-components
There's tooling for that: https://github.com/simlrh/dead-css-loader

CSS modules are about 95% of the way to making this a solved problem.

Obviously this relies on imported components implementing CSS modules, but for a greenfield project this kind of thing works remarkably well.

dfcowell··on Let’s Encrypt in the spotlight
The nginx ingress controller with kube-lego is officially my new favourite thing. Got it up and running on three clusters I manage a month or so ago and haven't looked back.

So great to just push an ingress manifest and 10 minutes later suddenly get redirected to HTTPS.

dfcowell··on Angular 2/4 Is Too Little Too Late
Old versions of libraries don't disappear when new versions are released.

You can npm install react-router@^3.0.0 and keep using what you know.

dfcowell··on Angular 2/4 Is Too Little Too Late
There may be 4 different routing libraries, but the complex decision-making with React happens up-front, which may involve (at most) a day evaluating the options and making a decision.

My biggest problem with Angular is the sheer surface area of the API and the dependencies between the different modules. Angular as a framework has 10+ different components, all of which are deeply integrated. All of this is wrapped up in Zone.js which produces some of the least helpful stack traces in history.

A React app may be a composition of 4-5 key libraries (state management, routing, authentication and potentially a form helper) but each individual library has a much smaller API surface area and the decoupling makes it easier to debug.

I recently rebooted a project that was built in Angular in React after over a week of trying and failing to debug a wide range of subtle issues in our implementation of universal rendering which absolutely broke AoT compilation. I won't deny that there's a high possibility that our code was the problem - it's just that there were no useful stack traces showing where to look and digging through the different libraries was a mission and a half.

There's a lot to be said for composing a few independent libs with small APIs, rather than having a gigantic framework whose documentation is only skin deep.

← PreviousPage 5 of 7Next →