Hacker Newsnew | past | comments | ask | show | jobs | submit | hcheung's commentslogin

I did something similar in 2016 https://www.e-tinkers.com/2016/11/hosting-wordpress-on-raspb.... Instead of having Apache, I use Nginx. Instead of serving webpage from SD card, I setup a 512MB hard disk except booting still done via the SD card. The site is still running on a Raspberry Pi 3 till this day from my living room.


I checked out your tutorial, its very cool! Do you think the 512MB harddisk makes your site more robust for when there are many queries? My site was crashed last night because of the hackernews hug of death and I may have to upgrade.


As most of my website are static content (blog with html/css), plus the implementation of cache and having a nginx (instead of Apache) help to serves most of the content from cache instead of access to the hard disk. Use of hard disk is trying to avoid the wear-off of SD card, I did in such as way where the boot is still done by the SD card, only the storage are in hard disk.


Traditionally Guotie is different from Jiaozi, it is a long roll with both side open, often with the same ingredients as jiaozi (cabbage with pork or mutton), but nowadays people are lazy and made guotie using jiaozi. You still be able to find traditional guotie in Taipei, but sadly seldom in China.


As a Chinese, we don't categorised Bao as Jiao (dumplings), they are different both in shape and wrapper, and cooking (Bao is steam and never boiled with water).


It is quite a comprehensive list. But for Chinese varieties, it missed Har Gow (Pronounced as Ha Gau in Cantonese or Xia Jiao in Mandarin) - Shrimp and bamboo shoots with wrapper made from Wheat starch), it is key Dim Sum dish from Cantonese cuisine, it looks like Jiaozi but different in both how the wrapper is made and the ingredients. Jiaozi is available only in North China, but Har Gow is only available in Cantonese cuisine. If you want to know if a Cantonese restaurant is good or bad, taste and inspect their Har Gow.

https://en.wikipedia.org/wiki/Har_gow


Thanks for sharing, the title should be dated with (2001).


(1981), surely.


Would be an interesting read if there is an English version of the book available.


I understand this is still under development and I can't full judge the content unless I paid to unlock it. But this looks like a pay version of what is available on the freeCodeCamp[1]. freeCodeCamp is not only free, you can see the entire user story[2] before you take on the challenge, but for Workouts, you have to pay first to see the steps/user stories...

[1] https://www.freecodecamp.org

[2] https://www.freecodecamp.org/learn/front-end-libraries/front...


> is ruled by a governing entity elected by Hong Kong people.

You called "elected" by a group consists of 1200 people as elected by Hong Kong people?


There is no perfect election format, even if the presidential election of US is often discussed for possible modifications: https://en.wikipedia.org/wiki/United_States_presidential_ele...


At least it is voted by the people no matter how imperfect it is. 1200 people is hardly a definition of "by people".


It's an electoral college system. By this logic, the US president is elected by only 538 "people".


AFAIK, those 538 people follow the decisions made earlier by the majority people.

Those 1200 definitely aren't.

Yes, the US system may not be perfect, but to put both on the same balance is such a misleading comparison.


How do you handle the logistic? Using third-party storage and shipping? Creating and running self-host shop is not difficult, but I found the logistic of handling inventory and shipping that tie you up.


It can take a huge amount of time, but actually, that bit I won't outsource yet. We do it all in house.

A friend of mine with a similar business in a different field tried outsourcing that a few years ago and it didn't work well, I didn't really understand why until I started.

We sometimes pre-configure gateways and devices for customers, so we need to pull them off the shelf and work on them first, then pack all the other stuff they ordered into the box and ship it. It's invaluable having the stock close to hand.

My solution - hire someone to help with the logistics.


The nginx header directives are all not in correct syntax with the extra ":", and for those directives with multiple values, it should be wrapped within a "" (such as "1; mode=block"), here is the correct settings:

    ## General Security Headers
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Frame-Options deny;
    add_header X-Content-Type-Options nosniff;
    add_header Strict-Transport-Security "max-age=3600; includeSubDomains";


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: