News for hackers. Stuff that matters.

sdnguyen90

Re:Mac OS Catalina: more trouble than it’s worth (Part 2) on Friday February 14, 2020 @03:28AM (#22324935)
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.

Re:Snowpack: Build a web application without a bundler on Thursday January 09, 2020 @03:27AM (#21999452)
Question for people unhappy about JS tooling: what's stopping you from just using vanilla JS?
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.

Re:Now Bigger Than eBay, Shopify Sets Its Sights on Amazon on Friday August 23, 2019 @09:35PM (#20784575)
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.

Re:Elm 0.19 Broke Us on Saturday August 25, 2018 @08:43PM (#17843502)
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

Re:Why You Should Build a Hackintosh on Tuesday August 07, 2018 @08:51PM (#17712298)
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.
Re:PgModeler – PostgreSQL Database Modeler on Monday August 06, 2018 @06:31AM (#17696434)
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.

Re:Has Vue passed React yet? on Friday June 15, 2018 @02:55AM (#17317966)
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?

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.

Re:Spotify files for its IPO on Wednesday January 03, 2018 @09:09PM (#16067425)
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.

Re:The woman who could 'draw' music on Wednesday May 31, 2017 @08:14AM (#14451842)
I have a hard time visualizing FM algorithms and Auraglyph looks like it would be really useful. When will it be available?
Re:Crash course to Amiga assembly programming on Thursday May 11, 2017 @06:38AM (#14315058)
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?

Re:Get started making music on Wednesday May 10, 2017 @08:13AM (#14307559)
Does it have per note editing? For example in trackers you can specifically set a note to play volume X, pan Y, pitch Z
Re:Show HN: An attempt to rethink a music sequencer design on Thursday April 27, 2017 @06:24PM (#14215303)
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.
Re:A Beginner's Hip Hop Playlist on Tuesday April 25, 2017 @05:53AM (#14192054)
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.
You don't need to use JSX with react-router and Fiber is not a rewrite of the entire framework.
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.
Re:Show HN: Sawtooth – Online audio workspace on Wednesday March 29, 2017 @06:15AM (#13984761)
I think this is more of a editor like Audacity that just happens to have synths. I don't see any sequencing features.
Re:Show HN: A Vim distribution inspired by Spacemacs on Sunday March 26, 2017 @12:29AM (#13959153)
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.
Re:Ask HN: Do you carry a backpack? Which one? on Tuesday January 10, 2017 @06:10PM (#13370133)
Been using the same bag for 4 years. Still looks like its brand new.
Re:Ask HN: What was your greatest accomplishment in 2016? on Wednesday December 28, 2016 @01:31AM (#13268848)
Can you disclose profit?
Re:How to get started with DJing on Friday November 25, 2016 @02:30AM (#13034916)
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.
Re:Nasty Gal is expected to file for bankruptcy on Thursday November 10, 2016 @04:53AM (#12919071)
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.
Re:Nasty Gal is expected to file for bankruptcy on Thursday November 10, 2016 @03:22AM (#12918646)
The company is actually extremely popular among younger women. If you're a male, you aren't really their target market for advertising.
Re:Musicmap on Friday June 03, 2016 @02:31AM (#11828703)
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.

Re:React Tutorial: Cloning Yelp on Thursday May 26, 2016 @06:48PM (#11782312)
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.
Re:Cutestrap: 8k CSS framework on Friday May 20, 2016 @04:57PM (#11741461)
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.

Re:Org Mode for Emacs – Your Life in Plain Text on Wednesday March 30, 2016 @06:46AM (#11388304)
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.
Re:The Deep Roots of JavaScript Fatigue on Wednesday March 16, 2016 @02:36AM (#11295441)
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?

Older »