HNHacker News
TopNewBestAskShowJobs

sdnguyen90

108 karma · joined December 26, 2012

submissionscomments
sdnguyen90··on Mac OS Catalina: more trouble than it’s worth (Part 2)
Both Catalina and Mojave were the smoothest MacOS upgrades I've had for a very long time.

The only issue I have with Catalina is that I can't figure out how to disable password auth for sshd since the config is basically read only now. Ended up using Wireguard and disabling external SSH access.

sdnguyen90··on Snowpack: Build a web application without a bundler
Question for people unhappy about JS tooling: what's stopping you from just using vanilla JS?
sdnguyen90··on CSS Utility Classes and “Separation of Concerns” (2017)
I’ve been using utility classes for a few years now. Some thoughts I’ve come up with:

For content heavy sites like ecommerce/marketing/blogs, I use pretty much utility classes exclusively. There usually isn’t much reuse of UI components on these types of sites so maintenance is much simpler compared to semantic classes. With semantic classes you’ll have a lot of one off styles.

I actually really enjoy writing sites like these since I can code a site start to finish without touching any CSS files. Using utility classes I probably finish 25%-50% faster than if I were to use semantic classes.

On more web app type things like admin panels, I use a mix of mostly semantic classes and a few utility classes. I only use utilities to make sure there aren’t a million different padding/margin/font size values.

In the earlier days of React I tried using all utility classes and it just felt like there was too much going on in the JSX. If you use utility classes, you know the class attribute can get pretty long - sometimes needing to be broken into 2 lines. The CSS tooling with Webpack has come a long way and solves a lot of the problems that all the utility class frameworks were trying to solve around 2015.

sdnguyen90··on Now Bigger Than eBay, Shopify Sets Its Sights on Amazon
I've been working with Shopify for close to 10 years as an owner of multiple profitable stores and as a full stack developer. If you work on the custom development side you'll see a lot more successful businesses run on Shopify.

I don't see the churn rate as a big problem for Shopify. Their revenue is pretty tied into the customer's revenue and expenses, not the amount of unique subscriptions. On top of subscription revenue, they have credit card processing and shipping labels which would be higher than the subscription cost for shops with high revenue.

IMO I don't really see Shopify and Amazon as really being in the same space unless Amazon makes a real push into curation and I think that would require a radical change in how Amazon works with sellers. I see Amazon as more of a competitor to Walmart, Target, etc.

sdnguyen90··on Elm 0.19 Broke Us
The runtime is not that big with 0.19 in my experience. I rewrote a (P)react component that was 5kb and Elm came out to be 6.8kb.

If you're comparing it to ReasonReact, you still have the React/ReactDOM Javascript dependency which is still ~30kb gzipped

sdnguyen90··on Why You Should Build a Hackintosh
I built a hackintosh using the recommended build and had a mediocre experience. Things I take for granted like sleep and Bluetooth were broken. I ended up spending weeks trying to fix it. Eventually I gave up and bought Apple hardware which hasn’t been perfect, but it’s definitely less annoying than the hackintosh.
sdnguyen90··on PgModeler – PostgreSQL Database Modeler
Postico is nice and simple if you're on OSX. Its very similar to Sequel Pro.

I like Datagrip as well but it has too many features for me since most of my queries are just SELECT's with maybe a JOIN.

sdnguyen90··on Has Vue passed React yet?
Question for Vue users: whats the value prop over React?

I haven't had a chance to look at Vue in depth but it seems to me that its useful for building apps where you don't need a build tool which makes sense to me.

The main thing I don't get is why use Vue over React if you're going to use single file components with some kind of build tool?

sdnguyen90··on Ask HN: What is your favorite way of setting up online store in 2018?
Expanding on what other people have said with some anecdotes:

Most developers who don't have operational experience of a ecommerce business will recommend some kind of open source cart. If they're in the WordPress community they'll recommend Woocommerce. If they're used to building web apps they'll recommend something built on top of their framework of choice.

Almost everyone who has experience working on a successful ecommerce business will tell you to use Shopify. It has all the basic tools you need to run a successful store. If your store is a failure on Shopify, then it would probably be a multitude worse on a custom built cart.

As stated in other comments, the actual cart is a cost center in a ecommerce business. There are stores using themes with minimal modifications doing millions in sales. On the contrary, you could have the most well built site and still have no sales.

If you want to put your technological skills to use, use it on things that generate traffic like content or marketing.

sdnguyen90··on Spotify files for its IPO
Record labels are already in a dynamic where the streaming services have at least equal leverage. Playlists are already taking over radio which is where the labels would give you the most value.

More artists are publishing their music independently. I think the negotiation power of older records owned by record labels will diminish because the next generation of independently owned records will outweigh them.

The thing I'm unsure of is how Apple Music vs Spotify is going to play out. I feel that Spotify is currently an overall better product but Apple has had major cultural impact with its curation which IMO is more valuable than building software.

sdnguyen90··on The woman who could 'draw' music
I have a hard time visualizing FM algorithms and Auraglyph looks like it would be really useful. When will it be available?
sdnguyen90··on Crash course to Amiga assembly programming
A bit off topic:

I'm looking to get an Amiga mainly to run Octamed and get that Paula chip sound. Can someone suggest a model to buy?

sdnguyen90··on Get started making music
Does it have per note editing? For example in trackers you can specifically set a note to play volume X, pan Y, pitch Z
sdnguyen90··on Show HN: An attempt to rethink a music sequencer design
Can anyone explain why none of the major DAW's have a simple step sequencer like FL Studio's? From my observations, FL Studio has a fairly large user base and IMO the step sequencer is the only thing that sets it apart from other DAW's.
sdnguyen90··on A Beginner's Hip Hop Playlist
The 90's era was great but is extremely overrated. IMO the 90's doesn't come close to the 2000's and 2010's and I grew up on the 90's.
sdnguyen90··on An experienced Javascript developer’s account of learning React
You don't need to use JSX with react-router and Fiber is not a rewrite of the entire framework.
sdnguyen90··on What the Hackintosh community wants in the new modular Mac Pro
Recently tried out Elementary and Ubuntu before going with a Hackintosh. I would have considered keeping Linux if support for high DPI screens wasn't so bad.
sdnguyen90··on Show HN: Sawtooth – Online audio workspace
I think this is more of a editor like Audacity that just happens to have synths. I don't see any sequencing features.
sdnguyen90··on Show HN: A Vim distribution inspired by Spacemacs
Can anyone share their experience using this coming from Spacemacs? I've tried the other Spacevim package but the key bindings were weird for me. I switched from Vim to Spacemacs about 2 years ago and I've forgotten everything besides the text editing stuff.
sdnguyen90··on Ask HN: Do you carry a backpack? Which one?
Been using the same bag for 4 years. Still looks like its brand new.
sdnguyen90··on Ask HN: What was your greatest accomplishment in 2016?
Can you disclose profit?
sdnguyen90··on How to get started with DJing
I think the track selection and the crowds reaction will go over peoples heads who aren't familiar with garage. A lot of tracks EZ dropped in that set were huge in the 90's and early 2000's (in terms of the garage scene). If you live in London, its likely you would get nostalgic over those songs. You probably aren't going to get the same reaction in most of the US.
sdnguyen90··on Nasty Gal is expected to file for bankruptcy
Fashion is a pretty hard industry especially when you're targeting younger people with less disposable income. If you sell your brand to the mall type retailers, your brand image is pretty much dead. If you don't sell to them, they copy your designs and sell for less anyways.
sdnguyen90··on Nasty Gal is expected to file for bankruptcy
The company is actually extremely popular among younger women. If you're a male, you aren't really their target market for advertising.
sdnguyen90··on Musicmap
Pretty in depth to my knowledge. I follow lots of odd genres and was surprised to see many of them on there. With that being said, I do feel like the Rap section is not that detailed. It looks like detail is a goal here so I'll give my 2 cents.

1. Miami Bass & Bounce

All the songs in this playlist are Miami bass songs. There are no bounce songs. At least add The Showboys - Drag Rap on there.

2. Southern Rap & Crunk

You can't roll this up all into 1 section IMO. To make this point, there is not a single Cash Money Records/No Limit Records song in the playlist. If you don't think they deserve their own tree, look at their record sales. I would argue that the descendent tree (Trap), is more influenced Cash Money and No Limit than crunk.

N.E.R.D. - Lapdance is in the playlist. I think this is a big stretch. Yes, I know Virginia is technically in the South but their sound is nothing close to it.

3. Grime (listed with Breakbeat Garage)

This deserves its own tree. Grime has been starting to gain major traction outside of the UK as of late. Also, current day Grime is heavily influenced by trap/drill.

and 1 minor nitpick not rap related - Juke(ghetto house, ghetto tech) is influenced by Jungle. You'll hear sped up breaks in quite a few of DJ Rashad's songs.

sdnguyen90··on React Tutorial: Cloning Yelp
This is how I start off a React app:

  $ npm install --save react react-dom
  $ npm install --save-dev webpack webpack-dev-server babel-core babel-preset-es2015 babel-preset-react react-addons-test-utils
/webpack.config.js

  module.exports = {
    entry: 'src/index.js',
    output: 'dist/bundle.js',
    module: {
      loaders: [{
        test: /\.jsx?$/,
        exclude: /node_modules/,
        loader: 'babel',
        query: {
          presets: ['es2015', 'react']
        }
      }]
    }
  }

/src/index.js

  import React from 'react';
  import ReactDOM from 'react-dom';
  
  const MyRootComponent = (props) => {
    return <div>Hello World</div>
  };
  
  ReactDOM.render(MyRootComponent, document.getElementById('react-app'));

/static/index.html

  ...
  <body>
    <div id="react-app"></div>
    <script src="bundle.js"></script>
  <body>
  ...
start the web server

  $ webpack-dev-server --content-base static/
There is nothing forcing you to use all the extra dependencies. You can build a full app without them.
sdnguyen90··on Cutestrap: 8k CSS framework
It is a bit weird to use at first but I highly recommend giving it a shot.

I've built some complex UI's with the same class name styles (Basscss). 99% of the time I'm reusing classes and I don't have to write anything custom.

Prototyping is great once you memorize the classnames.. Just write HTML, no need to switch to CSS files.

If you're working with global styles this is by far the most scalable CSS methodology as of right now IMO.

sdnguyen90··on Org Mode for Emacs – Your Life in Plain Text
I switched to Spacemacs from Vim a few months ago and I'm probably never going back to Vim. I didn't notice any difference between Evil mode and actual Vim. Took me a week or two to learn the Emacs and Spacemacs specific things before I was comfortable using as my primary editor.
sdnguyen90··on The Deep Roots of JavaScript Fatigue
Curious questions for those who complain about Javascript fatigue:

What reasons are you're dropping your old libraries/frameworks in favor of the new ones?

If an unstable API is a big problem for your use case, why not just stick with the old library or just not update the dependencies?

sdnguyen90··on What's New in Webpack 2
Is tree shaking still planned for this version?
Page 1 of 3Next →