Better HN
topnewbestaskshowjobs
Log inSign up

gregoryjjb

13 karma · joined Jun 11, 2020 (6y ago) · 11 submissions

Submissions

comment 2y ago · link · parent

This is a very broad question, but the most straightforward answer is to use a popular full stack framework like Ruby on Rails. It'll give you most of what you need out of the box, and there's 3rd party packages for the rest.

comment 4y ago · link · parent

Announcement blog post https://tailwindcss.com/blog/tailwindcss-v3

comment 5y ago · link · parent

It did cause some price spiking, but the FOMO caused a much bigger spike and eclipsed the effects of the squeeze. Why do you think they "kicked the can down the road"? Short interest is still around 1%, down from over 100% in January. The hedge funds in question realized huge losses in Q1.

comment 5y ago · link · parent

They were mostly closed prior to the huge price spike, the spike was caused by retail buying, probably thinking they were causing a squeeze. You can read the details in the SEC report on the topic (note the massive drop in short interest in Figure 5).

https://www.sec.gov/files/staff-report-equity-options-market...

comment 5y ago · link · parent

An SSN is a username, not a password. We need an identity system with real passwords that can be changed in the case of a breach.

comment 5y ago · link · parent

await won't block Node from handling other requests but it will block the thread that is awaiting. For example, these will execute one after the other (the "bad way"):

  await slowThingOne();
  await slowThingTwo();
but these execute in parallel, awaiting until both are finished (the "good way"):

  await Promise.all([slowThingOne(), slowThingTwo()]);

comment 5y ago · link · parent

You used to be able to with registry hacks, but those hacks don't work anymore.

comment 5y ago · link · parent

I recreated this feature ad-free with a Powershell script: https://github.com/gregoryjjb/fake-spotlight

comment 6y ago · link · parent

It lets you display more granular information. You can have light blue buttons with dark blue text, as well as solid blue buttons, to convey "primary" and "secondary" CTAs for instance.

You could try to display the same amount of info in less color, or even black and white (maybe outlined buttons, bold/regular fonts in the text), but color variation looks "good" to the majority of eyeballs.

comment 6y ago · link · parent

The article actually kind of addressed this with the shades, and I think that's what a lot of non-designers miss; having several shades of the same color adds a lot of variety without looking cluttered ("feels like few" as you said).

comment 6y ago · link · parent

The author is one of the creators of Tailwind CSS, which gives you a predefined color palate but no components, and is intentionally opposed to the Bootstrap ideas. The recognizable part of Bootstrap isn't the fact that errors are red, it's the shape of the buttons, inputs, etc., and the fact that all errors are the exact same red as other Bootstrap sites.

At the end of the day "good" UI doesn't have a lot of room to be different -- it actually needs to be recognizable -- but you don't need to change much to avoid being generic. Using different shade(s) of red for errors is one way.