Better HN
topnewbestaskshowjobs
Log inSign up

tvphan

84 karma · joined Mar 14, 2019 (7y ago) · 33 submissions

Submissions

comment 5y ago · link · parent

A lot of people on Reddit call her Su Bae.

comment 5y ago · link · parent

Sounds like Vite?

comment 5y ago · link · parent

I suspect the person who created this chart probably reckoned that anything less than “using Huawei” is a bad thing

comment 5y ago · link · parent

There’s a trend at the moment called design tokens which standardises all the design constraints for your website, e.g. spacing, colours, fonts, etc. Tailwind and I guess this allows for you to build super consistent websites based off of predefined tokens

comment 5y ago · link · parent

YouTube is an American company.

comment 5y ago · link · parent

If you ride a bike and have to make a turn, it’s a similar concept!

comment 5y ago · link · parent

Uh I live next to a roundabout (single lane) and it’s the safest thing ever. I’m guessing you’re American?

comment 5y ago · link · parent

Yeah nah, I live in Melbourne and there are rabbits EVERYWHERE

comment 5y ago · link · parent

Mate, there is a `space-y-1` helper class.

comment 5y ago · link · parent

Did you go back to using JS?

comment 5y ago · link · parent

I’m pretty sure governments require people to have degrees which is why companies ignore you.

comment 5y ago · link · parent

Did you use 4 to represent for? I was so confused

comment 5y ago · link · parent

This probably has to do with Apple charging 30% for any in-app payments so Audible didn’t bother implementing any payments / subscriptions functionality on their app.

comment 5y ago · link · parent

They probably just poured more iron into their recipe?

comment 5y ago · link · parent

Mate, you gotta chill. You seem very triggered by Tailwind! You don't have to use it if you don't want...

Some comments:

- It's very easy to integrate Sass with Tailwind. You can import the Tailwind classes just like you would Bootstrap: https://tailwindcss.com/docs/using-with-preprocessors#using-...

- You are also allowed to write semantic classes as well: https://tailwindcss.com/docs/extracting-components

I would argue the main point would be you can rapidly build interfaces... like really fast. I worked on a proposal for a client using Tailwind a month ago and we smashed out a whole website in a week. We ended up "extracting components" like buttons and cards and stuff that we found was being reused a lot (kinda like Sass).

As opposed to Styled-Components, the Tailwind classes are very valuable for designers who want to prototype live in the browser.

Also, you were complaining before about design consistency but I would argue that Tailwind allows for very high design consistency. I work with armies of outsourced developers of varying skillsets and I honestly don't trust a lot of them to write clean CSS at all. With Tailwind and Tailwind design tokens, the army of outsource developers are encouraged to work with the design tokens (as opposed to yolo'ing 3px !important everywhere).

comment 5y ago · link · parent

There’s a new wave of thought in design called “design tokens” where you have a set of predefined values that are considered valid as part of the design, e.g. a website can only have spacing of 4px, 8px, 16px, etc.

One component having mr-4 and another having mr-3 is chill if that was the designer’s intention. If not, then it should be picked up during design review and easily fixed (since you end up really only having to pick from like a few values).

comment 6y ago · link · parent

I've honestly found that the learning curve for Gatsby is too high. I've been using Next.js and I absolutely love it!

comment 6y ago · link · parent

I see the USA as more chaotic than authoritarian.

comment 6y ago · link · parent

I love React and would recommend it as the primary frontend library. However, I would suggest avoiding the Material UI component library entirely (as I believe it’s both difficult to customise and over-engineered) and just write SASS to start off.

If you really like how Angular 1 worked (writing templates instead of JS to represent DOM) then Vue is a great choice.

comment 6y ago · link · parent

I thought the same thing until you start to think in terms of “constraint-based components”, which are more easily done in CSS-in-JS. Styling is done by passing properties to a component, e.g. <Heading color=“primary” />, and only the developer building the primitive component needs to worry about styling. You end up being able to rapidly develop interfaces that match the designs.

comment 6y ago · link · parent

The Material UI library for React is such a piece of garbage and I actually believe it’s one of the main reasons why so many devs hate React. You can use React without and your happy will be so much happier!!

comment 6y ago · link · parent

Most popular re-usable component libraries and websites are written in React.

comment 7y ago · link · parent

I think that's just wishful thinking. I'm from Melbourne where cycling is pretty common (although not as hectic as in Holland). The cyclists here are still pretty rude.

comment 7y ago · link · parent

Directus looks like a headless CMS (similar to Contentful). This is more AWS AppSync or Google Firebase.

comment 7y ago · link · parent

Just a random nitpick about the article...

> An avid deforester, Bolsonaro has jokingly nicknamed himself “Captain Chainsaw.”

An alternative article from The Guardian says that he rejects that term?! https://www.theguardian.com/world/2019/aug/07/bolsonaro-amaz...

comment 7y ago · link · parent

How long has this been around? I had to recently build a React app for Salesforce and I had to set it up as something called a Lightning Container Component, which was pretty much a glorified iframe.

comment 7y ago · link · parent

The Stack Overflow developer survey showed that React and Angular are neck to neck so there's obviously a lot of people who use it.

However, you can see just how popular React is by number of npm packages that depend on it: https://github.com/facebook/react

comment 7y ago · link · parent

I recently read Refactoring UI by Adam Wathan, which goes more into detail about basic design principles in a manner that noobs can understand. There are also a whole bunch of examples and stuff. Highly recommended:

https://refactoringui.com/

https://twitter.com/adamwathan

comment 7y ago · link · parent

Similar to how Singaporean English have dropped a bunch of ending consonants from English, Mandarin dropped a bunch of ending consonants from Middle Chinese. If you recited this in Cantonese (which is a bit more conservative dialect), the words would sound differently!
12