News for hackers. Stuff that matters.

armonraphiel

After buying and returning multiple beds in the last year, I learned a few things:

- Bed reviews are either very anecdotal or company sponsored.

- Do not buy a bed without testing it. Bring a pillow and spend at least 15 minutes relaxing on each candidate.

- If you can afford it, avoid “beds in a box”. They retain serious heat, provide little support for any sleeping position, and are not easy to return. Casper beds specifically caused me and my spouse a month of back pain.

- Test the softest version of the bed before making a decision, even if you prefer firm beds. There is a often a significant positive difference between “medium” and “extra plush”.

- Beware “free” add-ons. Mattress stores use them to hedge against returns and refunds by applying the value of the items to the mattress. This means if you return the mattress, you won’t get the full refund back.

- Shop at local mattress outlets, if possible. I was able to save $1,200 on the same exact model quoted (also at discount) at the major mattress chain with no haggling.

This is worth consideration. Many lifters who use chalk have spent money on building a home gym or attend gyms are open despite COVID restrictions.
Re:Squarespace S1 on Friday April 16, 2021 @04:38PM (#26838814)
If Webflow added native i18n support, I wouldn't be surprised if they ate up considerable marketshare from most headless CMS providers.
Re:TailwindCSS JIT with arbitrary values on Thursday April 08, 2021 @10:22AM (#26739045)
Tailwind is quite convenient for standard web projects. The advantages are less apparent in React projects, especially if you use styled-components or robusts frameworks like ChakraUI.
https://docs.publishing.service.gov.uk/

Looks like the core site is Rails but it seems they use a bit of everything. Preact, Go, Node, etc

Re:Ask HN: Cheapest/easiest way to host a static site? on Friday March 26, 2021 @01:38PM (#26594800)
They have a managed service for folks with docker instances.

You also get a few free static sites as well https://www.digitalocean.com/products/app-platform/

Mostly working with https://miro.com/
Re:GitHub, fuck your name change on Friday March 19, 2021 @12:08AM (#26510083)
I'm African American & had the same reaction.

At the time, the master->main switch felt completely pointless.

But I came to appreciate the courage needed to actually commit. It's a signal that people do care.

Issue is, most folk have no idea on how to meaningfully contribute towards a lack of representation.

Firebase + ChakraUI + React.js has been pretty solid for me lately.

That said, I used Rails for the first time for a small client last week and it was fairly easy process.

I grew up believing SWE was something I couldn’t do after a very abrasive C++ course I took in my youth. It took a few years but the content posted here directly contributed to me pushing past those fears.
Re:Ask HN: How to Become an Expert at AWS? on Sunday January 10, 2021 @12:42PM (#25717150)
AWS has free training labs that are fairly simple to get up to speed with - https://aws.amazon.com/training/self-paced-labs/

I’d also recommend ACloudGuru as well

Re:Ask HN: How do you stay fit? on Sunday January 10, 2021 @12:38PM (#25717099)
Garage gym. I was able to furnish it for around $800 with a squat stand, bench and weights. Do it first thing in the morning
Re:WordPress's Matt in debate with Netlify's Matt on Wednesday October 14, 2020 @11:08AM (#24777362)
I simply can’t recommend a self-hosted Wordpress install for most users.

The vast majority of users that WP caters to are better served by Facebook Pages, Wix, Squarespace and Webflow.

Large and high traffic sites aren’t a great fit for WP either as the codebase was never meant for scalability and still maintains a painful developer expierence.

There are plenty of options, “JAMStack” included, that are still a much better fit.

Re:WordPress's Matt in debate with Netlify's Matt on Wednesday October 14, 2020 @10:43AM (#24777046)
They host static web pages. I’m not exactly seeing the angle on how this is a bad thing.
Re:Pelican static site generator 4.5 on Friday October 02, 2020 @01:32PM (#24664913)
Nothing comes close to Hugo in speed.

However, before migrating I suggest:

- using Jekyll's --incremental flag

- move your asset pipeline into a separate process (webpack --watch)

- reduce any Jekyll gems (each one adds considerable overhead)

If you want to leave Jekyll, I also recommend Eleventy. It's fast, require very little work to migrate from Jekyll, and can create pages from data.

Another vouch for Sanity here.
From personal experience, there are plenty of communities with options that still see dollar stores moving in.

Each one I’ve seen built was an attempt to drastically raise the value of zoned lots before selling it off as part of a package deal.

Growing up, my grandmother would often tell me I needed to be "twice as good as the next best white person" to be taken seriously. I resented the premise behind that statement but she was not wrong.

It's a feeling that doesn't go away & often compounds on imposter syndrome.

Re:Introduction to D3 on Thursday March 05, 2020 @01:14PM (#22496304)
Incredible resource
I recommend using AWS Amplify if you need to stay within AWS.

The full product can be compared to Google Firebase but the Amplify Console specifically offers features similar to Netlify on top of standard AWS services (S3/CF/Codebuild).

I find it a much better experience than manually setting up S3/CF websites because of the out-of-the-box features that simply wouldn't happen otherwise for a static site like:

- instant cache invalidation

- branch deployments (with password protection & rollbacks)

- deployment process only deploys modified files

- simple custom headers

- simple redirects (redirecting individual assets in Cloudfront is not easy)

Re:Tricks to start working despite not feeling like it on Tuesday January 21, 2020 @12:58PM (#22109439)
I competed nationally in track and field for 7 years & did not enjoy a single training session during that time.
Re:Ask HN: Best Static Site Builder? on Monday November 25, 2019 @04:37AM (#21626652)
Could be helpful when writing your own plugins or simplifying/speeding up what your CD server needs to do.
Re:Ask HN: Best Static Site Builder? on Monday November 25, 2019 @04:27AM (#21626613)
Eleventy - https://www.11ty.io/

Eleventy is my new Jekyll replacement.

- Node.js based (a simple npx command)

- Easily understood by beginners

- supports multiple template languages

- can build pages programmatically (needed for building pages based on external data sources)

- is quite fast

I’m a huge Gatsby fan but Eleventy is preferred for projects where React isn’t necessary.

Hugo also deserves honorable mention but it’s been relegated behind Jekyll, due to its confusing documentation.