HNHacker News
TopNewBestAskShowJobs

joshuacc

15,945 karma · joined November 11, 2009

Publisher of A Drip of JavaScript

http://designpepper.com/a-drip-of-javascript

Senior UX/UI Developer at Microsoft.

http://joshuaclanton.dev

Twitter: @joshuacc

My HN Story: http://myhnstory.com/joshuacc/

submissionscomments
joshuacc··on Blameless post-mortems and a just culture (2012)
Happen to have a link to a video of this talk?
joshuacc··on Google is finally killing off Chrome apps, which nobody really used
The new MS Edge supports this.
joshuacc··on "I have lately made an Experiment in Electricity that I desire never to repeat."
No need to speculate on what a dictionary might say. We can actually consult one. https://www.merriam-webster.com/dictionary/electrocute
joshuacc··on Undervalued Engineering Skills: Writing Well
Along these lines, I have a half-completed book on GitHub titled Prose for Programmers: https://github.com/joshuacc/prose-for-programmers

I started it because I found that being able to write effectively was my biggest advantage at work. Compared to others who were at least as technically competent as myself, I was more often able to persuade others to take the course of action I prefer.

joshuacc··on Major bank accidentally published a private package to the public NPM Registry
npm orgs are free, but the org has to be created before you can publish to an org's scope.
joshuacc··on None of my projects want to be SPAs
> These frameworks add a huge amount of hidden global complexity just to avoid having to pass parameters to components, which is the simplest thing to do.

Redux offers a few benefits:

1. Allows you to keep your global application state 100% predictable by treating it as a pure function of an event stream (dispatched actions). This makes it trivial to test.

2. Allows you to "time travel" the state of your store using the Redux dev tools by replaying/modifying the event stream. You can also set up QA folks to export their events so that developers can reproduce any bugs in the global state 100% reliably.

3. Allows you to access global state without explicitly passing down props from great-grandparent to great-grandchild.

While I'm not a fan of using Redux for everything (it does have costs), you mentioned only the most minor benefit. If you only want #3, you would just use React's built in context API.

joshuacc··on The world might run out of people
Everyone who wants more than 2.1 kids is stupid, impulsive, or a religious zealot? That seems unlikely.
joshuacc··on Anglican: A Probabilistic Programming System
CofE is an abbreviation for the Church of England (parent church of the Anglican Communion).
joshuacc··on Canada's last witch trials: Women accused of fake witchcraft
This is incorrect. The Catholic Church still practices the use of indulgences, just not their sale. See the Catechism of the Catholic Church which was promulgated by John Paul II in 1992 and last revised by Pope Francis this year.

http://www.vatican.va/archive/ENG0015/__P4G.HTM

joshuacc··on Is front-end development having an identity crisis?
> I don't see why the developer that builds the interaction with the backend can't be given directly the design and turn it into HTML and CSS himself.

Because well-engineered HTML and CSS that works across all major browsers and can handle everything from tiny phones to high res desktop sizes and meets accessibility requirements is a very difficult skill to acquire. In addition, that skill has very little to do with the skills required in more traditional programming languages, even JavaScript.

It's perfectly possible to have someone fulfill both roles (I do, but I'm the senior-most FE person at my company.) It just takes a long time to master both sides of that equation.

Everyone should be able to do basic HTML & CSS, but deep expertise as I described above requires either a specialist or someone with a lot of experience.

joshuacc··on Mr. Rogers vs. the Superheroes
According to Nicea and the Christian tradition, there is one God in three persons: Father, Son, and Holy Spirit. Jesus is the Son incarnate, but not the Father. You may not think this makes sense, and that's fine, but it is quite different from what you are claiming above.
joshuacc··on Announcing TypeScript 3.0
What problem? TypeScript has supported param destructuring for a while.
joshuacc··on Announcing TypeScript 3.0
TypeScript supports both FP and OOP styles of programming. And it doesn't add any new OOP features on top of JavaScript.
joshuacc··on North American vs. Japanese zoning
Where I grew up (rural Southern US) weeds could shoot up to 8 inches within 3 days with the right mix of sun, rain, and warm weather.
joshuacc··on Ask HN: Work from home (WFH) setup
> Can't imagine why you'd even think that would work out

That's a bit unnecessarily hostile, don't you think? But to the actual point, lots of people are able to work from home with kids without it being a significant problem. You'll notice several replies to this very thread bearing that out. :)

joshuacc··on Ask HN: Work from home (WFH) setup
You can also supplement training with physical barriers as necessary. :)
joshuacc··on Ask HN: Work from home (WFH) setup
For distractions, my office is on the basement level, separate from everything else in the house. There is a baby gate at the top of the stairs to prevent the kids from entering. My wife is very good about not interrupting unnecessarily. Guests may come over during my workday, but the most that I will do is say hi and then go back to work.

I built a standing desk out of a solid wood door and stainless steel pipe. It is at the perfect height for my wrists to rest correctly when typing. I mostly stand on a rubber mat, but I also have a bar stool I can rest on occasionally.

I have 3 external monitors (2 wqhd and 1 1080p) as well as my laptop screen. The externals are at the perfect height. The laptop screen is a little low, so I just use it for supplemental things that I don't have to look at for long.

I've used my phone maybe 4 times in the past year, so for that I just used my cell phone. I use WebEx, HipChat Video, and Google Hangouts to videoconference with my coworkers. I use a Kingston HyperX gaming headset, which works phenomenally well.

I follow the exact same routine every day. Drop the kids off at school. Start work at 9am. Pick kids up in the middle of the day, go back to work. Sign off by 5pm.

I use GTD, implemented using a Filofax organizer, with a custom set of inserts. For me, it is essential that my task management system be paper based. It's easy to reference, and unlike phone/computer based task systems, it doesn't set me up to be interrupted/distracted. I also use a kitchen timer and the pomodoro method when I need to be most productive.

At a minimum I go on an hour long hike with my kids every evening, but I also supplement that by going to CrossFit one or two times per week. When I am able to go for multiple short walks during the day and do some meditative prayer, that's when I'm most likely to be at peak productivity.

joshuacc··on Do not use NPM 5.7
I'm mostly a Windows user, so maybe I'm misunderstanding *nix stuff here, but I don't see how recommending npm i -g package is remotely the same as recommending sudo npm. Could you clarify?
joshuacc··on Modern CSS Explained
There is some overlap, but display: table and friends already covered that without flexbox.
joshuacc··on JavaScript. The Core: 2nd Edition
I've found Basarat's TypeScript Deep Dive very helpful: https://basarat.gitbooks.io/typescript/content/
joshuacc··on Google Pixelbook – A High Performance Chromebook
> I uploaded full seasons of a very old 90s cartoon and my account is disabled. I cannot even purchase YouTube TV to try it out.

You violated the law and their (rather reasonable in this case) terms of service and are shocked to find they'd rather not do business with you?

joshuacc··on Trello Desktop for Mac and Windows: Get More Done Without Distractions
> What do you all feel about this practice of taking long-lived web applications and getting them out of a tab and into a desktop shell with a place on the dock/task bar and the ability to Atl/Control-Tab?

I intentionally do this with Chrome's Tools > More Tools > Add to Desktop > Open as New Window option. Wrapping Spotify Web, Outlook 365 and HipChat into their own "application"s lets me treat them as if they are native apps, but for some reason it uses a lot less resources than the actual native apps.

joshuacc··on Microsoft ASP.Net Core 2.0.0 released
I develop applications using TypeScript because it is (a) superior to native JavaScript, (b) open source, (c) has a very clear exit strategy in the unlikely event that Microsoft does something stupid with it.
joshuacc··on Show HN: The JavaScript Way, a book for learning modern JavaScript from scratch
Sort of, but the effect is very different due to the "temporal dead zone." Attempting to access a variable declared with `let/const` or const before the declaration will throw an error, vs just getting `undefined` for a variable declared with `var`.
joshuacc··on Scientists Reverse Brain Damage in Drowned Toddler?
> These are landmark achievements, and they were all predicted by a show which ended in 1994, before the advent of the internet.

Umm. I was reading about TNG on the web in 1994. The internet had been around for a long time before the web was useful to ordinary people. Email has been around since the 70s. Search engines were certainly limited, but were already available in the early 90s.

All these predictions succeeded because they were "predicting" incremental improvement on something already known to exist.

joshuacc··on TypeScript 2.4
I won't. TypeScript in particular has made my code much more maintainable and pleasant to work in compared to vanilla JS, even recent versions.
joshuacc··on Show HN: Decaffeinate converts CoffeeScript projects to modern JS
That's not ES6. It's ES2017, aka ES8.
joshuacc··on Gender and verbs across 100K stories: a tidy analysis
> With something like word2vec you can take a bunch of words and project the vector space onto a plane so you can see the relative distances, but how do you express changes over time?

Animate it?

joshuacc··on Opinionated Comparison of React, Angular2, and Aurelia
Why? I've used Redux and TypeScript together before. They make a really nice combination.
joshuacc··on Ask HN: Developers with kids, how do you skill up?
I don't do much public-facing stuff, but anything that goes to increasing my professional skills (technical or otherwise) happens during business hours. Generally it's 20-30 minutes of personal development time per day. That's part of what the company is paying me to do: become a better employee for them.
← PreviousPage 3 of 25Next →