HNHacker News
TopNewBestAskShowJobs

dpix

237 karma · joined October 6, 2012

Full stack software engineer, currently located in Vancouver
submissionscomments
dpix··on Why Segment Went Back to a Monolith
I see a lot of places that seem to either think that:

1. Microservices will let them ship things faster or

2. It's microservices everywhere or nothing

Microservices might let you ship faster if you are really good at deciding where to draw the lines between services and really good at managing multiple deployment pipelines and all the infra - that's a pretty tough ask.

Also, if you have a monolith it's perfectly fine to pull out one or two parts that need to scale much more efficiently and leave most of your codebase in the monolith, but a lot of times I see companies think once you have created one microservice the monolith is now the worst thing possible and it needs to be broken up entirely.

My general rules for this are to always start in a monolith and break things out as they start to fail or break other parts of the codebase, and don't go all in just because you now have one microservice that works well by itself

dpix··on SQL is a better API language than GraphQL – Convince me otherwise
Adding any layer for clients to fetch data introduces another layer of complexity and if you have graphql purely to surface something that could be queried directly then it is definitely overhead.

Where I see graphql shine is:

1. reducing large payloads to only the data you need

2. combining responses from many different sources into one query - especially when these might all talk different protocols, one sql, one nosql, one http etc

Is graphql the only solution to this? No Is graphql designed pretty well to make this simple? Yes

dpix··on Industry spent millions selling recycling, to sell more plastic
Even if we had 100% recycling, most if not all forms of recyclable plastic can only be recycled once into the "Made from recycled materials" type of plastic which cannot be recycled again.

So the Oil industry will still have massive demand for new plastics if every piece of existing plastic got recycled only once. For recycling to work, we need a solution that makes it easy to re-use many many times.

This is why recycling really isn't the answer to solving the plastics crisis anyway

dpix··on When To Chat: Reconcile Time Zone Differences
Seems to be lots of negative comments in this thread :(

I think this is a great, super simple little tool, nice work! And slack integration is the real killer feature here

dpix··on Ask HN: What industries are underserved by software?
Government. Often plagued by bad or outdated software rather than the lack of it
dpix··on Why the World Needs CSS Developers
Styling, layout and Dom composition are so tightly coupled that being a CSS only developer would be impossible. Particularly in the react world where everything is JavaScript, good luck trying to write a component and pass it on to someone else styling it.

I agree that the scope of a front end developer is becoming very expansive, having to worry about accessibility concerns along with styling, performance, architecture is hard, but good teams usually cover all these things well enough combined.

dpix··on Facebook reverses on paid influencers after Bloomberg memes
Why is it that paying influencers to push agendas (business or political) not considered advertising. I can understand that facebook shouldn't be held accountable for legitimacy of this type of advertising but if an instagram or facebook account has a large enough following they should be treated as advertisers themselves and scrutinized accordingly
dpix··on Show HN: Hacker News Trends
HN seems to be much more interested in Trump than it ever was in Obama:

http://eliot-jones.com:5690/Home/Trend?id=obama&allwords=tru... http://eliot-jones.com:5690/Home/Trend?id=trump&allwords=tru...

dpix··on Ask HN: Started job 3 months ago...not going as planned
Have you chatted to your manager about how you feel? They might not know how bad the situation is, or may be in a similarly tough situation. If they don't want to chat you can always try grab a coffee with one of their peers or their manager. People further up the chain might be pretty surprised by what is happening, and a bit of initiative on your part should get recognised.

If they turn you down or you get negative feedback about how you are feeling in the team you should get out of there for sure

dpix··on A GitHub repo of jobs listings with bounties
How does the bounty work?
dpix··on More trees reduce premature deaths in cities
Exactly what I thought while reading that article. I can't imagine anyway you would be able to run a study and get meaningful results around this accounting for a tonne of external variables.

I expect wealthier people tend to live in nicer neighbourhoods that just tend to have more planting, those people are more likely to have better lives than poor people who happen to live in neighborhoods that can't afford to plant a lot of trees.

In saying that, I'm still all for planting as many trees in cities as we can. This just seems like a flawed study

dpix··on How to Buy Drugs
But guns in America are not regulated. In most countries guns are legal just heavily regulated.

A completely black market for guns would lead to things that could blow up in your hand or explode at any time, the same as unregulated drugs

dpix··on Why I don’t love light rail transit
Exactly what I was thinking thank you. The author also goes on about the suburbs having a negative feedback loop, but clearly history shows that suburban sprawl kept growing furled by larger motorways and parking lots.

Some thought deserves to go to other cities outside of North America also, Melbourne for example has an incredible tram network, supported by bus lines and a heavy rail network for faster transport more remote suburbs

dpix··on Docker Hub Registry is down
Looks like it's back up now, whew!
dpix··on Ask HN: Entire API and DB generator from model definition
Agreed, I see this as a good fit for micro service APIs where the consumers are just other parts of a larger system. APIs for front end or consumer facing applications would likely not fit this model so well
dpix··on Ask HN: Entire API and DB generator from model definition
Thanks for the link!

What do you mean by "system" level products?

I would envision this would make sense for microservice style APIs, not so much for client/product facing interfaces like an API tied to a web front end

dpix··on Alibaba Cloud
I wrote a blog post about how to set this up on an Elastic Beanstalk instance. As well as uploading images directly to S3 rather than double handling them on your own backend. https://pickledsoftware.co.nz/jekyll/update/2017/02/14/Hosti...
dpix··on A set of best practices for JavaScript projects
I came here to write this exact same comment. If people insist on having todos in code. I make sure they at least reference a jira ticket.

The code should describe your business logic, not the work to do to build that code. What if no one looks at that file for a year?

dpix··on Ask HN: What a/b testing framework do you use?
Thanks! One thing that is unclear is that you seem to have to create a project based on a language/toolset. Can you use that same project using different client sdks?

If I want to use the same project across both front-end and back-end, should I be choosing javascript or C#? Does it matter?

dpix··on Show HN: 8192px, an expanding collaborative pixel art canvas
This is great! I have a note in my ideas list for an infinitely expanding public canvas. At what point does it expand the current bounds?
dpix··on World's worst website ever
Definitely not worst in terms of page load speed
dpix··on GitHub commit search: “remove password”
This is the main reason I use gitlab, because they have free private repos. When your trying to smash out code as fast as possible in a startup you don't want to have to worry about acccidently checking a secret in
dpix··on Show HN: A Twitter bot that posts wikipedia pages with broken links
Getting a few false positives but it was a pretty quick hack
dpix··on Ask HN: Idea Sunday
I've thought about the opposite of this idea for a while, a social media platform where your posts/updates only last for a few days or perhaps longer based on engagement. How many people really look at your Facebook profile / Twitter feed from years ago, or even a few weeks ago? People are really only interested in what's happening right now. I guess this has kinda been filled by snapchat but only for photos, why not everything
← PreviousPage 2 of 2