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

Just as a side-note since their example uses CloudFlare: I think that host-rewriting is disabled on CloudFlare as a security or spam-avoidance feature.

If you want to have CF change the host to something else, like censored.com, this domain must also be part of your controlled domains, which means CF can’t be used for this purpose.

This at least was the case last time I looked into this (12 months ago)

It’s also possible that this feature is enabled for paying users, which I wasn’t.


You can do it with a Worker, it'll do completely independent requests to the backend and you can then rewrite them (e.g. change headers, content) and relay them to the client.


I did just this, to create a version of Github with scrambled text.

https://guthib.mattbasta.workers.dev/


I found this to be the case on CloudFront as well. As far as I can tell, it's not possible to direct the request to a different, custom origin based on the Host header. Only the URL path.

The recommendation is to use a Lambda@Edge worker to do it. I find this very annoying.


Some low-cost CDNs allow this, like BelugaCDN and BunnyCDN, probably others, with a web GUI for setup.


I'm 23 buckets tall and half a periwinkle.


For now?


Yes and they need to go away and design a very different chip. It's not trivial. x86 vendors already have chips like this.


What’s the advantage? I don’t think it’s likely to cost less as a service, especially directly from Apple. If you get the same performance per dollar you might as well keep using what you have.

Heat and energy savings only apply to the direct user (in this case Apple Hosting) and unlikely to be passed onto you (since it’s Apple).

We’ve already seen this with M1 computers which are simpler and less expensive but did not have a lower retail price.


They would use their scale and engineering muscle to differentiate. Free outgoing bandwidth to iCloud users. The most eco friendly cloud. “Lambda at edge” which can compute on charging iOS devices nearby, those users earn a little Apple Cash. “Launch in iCloud” thin client support for resource intensive applications, using a proprietary low latency VNC alternative (like Parsec). I want to see them get creative.


You know what’s getting old? My 2020 computer having the same RAM as my 2013 computer.

This is not acceptable for a $2000+ machine.

Apple really skimps on RAM and my new iPhone can’t take a photo without purging every single other app.


What a feature to introduce in 2020. This has been a core part of the UI of OS X for… ever? For every app.


macOS is using "dot on top of the Close button", to indicate both that there are unsaved changes, and that if you tried to close the window, you would get a prompt asking about unsaved changes.

Simpler, more elegant, better integrated solution, consistent across the whole OS.

"Asterisk in the Title Bar" is a very unrefined solution to the problem.


Asterisk in the title bar lets me see which of my notepads in the taskbar are saved and which aren't.

Not saying it's better, just that your "unrefined solution" might be another man's "feature".


The asterisk (as unsaved indicator) has been there on a lot of Linux programs for a while (the first I remember encountering was GIMP at least a decade ago).

It shows up on the titlebar but more importantly in the window pager/taskbar, which isn't a feature on Mac OS (though to be fair it also doesn't show up on Linux/Windows desktops that are configured to show icons only in the window pager).


Oh god, thanks for the tip! :D I always wondered what that point was sometimes doing there. Somehow the asterisk is easier to understand!


In a honest non-secure version, just like in the old times.


You’re missing the point. Why buy something if you don’t have to? That’s the reasoning here. You don’t spend money, your product doesn’t depreciate, you always have a brand new product. You only have to deal with your guilt and ethics or lack thereof.


I think the answer is not “not”

It’s abuse because people buy it with the intent to return it. Buying it and then honestly changing your mind is fine, but Amazon probably determined that wasn’t the case here.


It’s kinda ridiculous that this happens. It’s not like it’s graphic intensive. Why would it warm up any GPU of this decade?


the power of javascript


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

Search: