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

My boss did UI/UX on Mosaic (we are both at NCSA today). I will ask her on Tuesday when I see her. She has lots of wild stories about why things are the way they are.


Looks really nice. The big blob of parameters in the kwargs looks pretty intimidating to get correct. Maybe consider a builder object for the config: https://en.wikipedia.org/wiki/Builder_pattern. It would probably be easier to document, too (document the setter methods of the Builder rather than try to explain the nested dict). Feel free to ignore me.


The nice thing about programming on a RaspberryPI is that the only websites that are light enough to use are Google, Stackoverflow, Github, ReadTheDocs, etc. If you try to check Reddit/Twitter/Facebook you get frustrated with how slow they are and go back to the text editor.


I get your point but I recently bought a RPI with 8GB RAM. Although it is in no way comparable to a modern Celeron or Pentium, SBC's are already to the point where they can sufficiently be used for web browsing.


What about HN?


All it needs to be able to do is page-down or scroll-down and I want it (I have RSI problems in my hands).


You can already get a gaze-tracking program to do this. (You can prototype one in MIT Scratch – yes, really!)


I think a foot pedal might be an easier solution than a neural implant, at least for a desktop computer


Thanks for saying this ^^, it's the best explanation of what this thing actually is (sorry but I didn't really get it from the homepage). Define a state of infrastructure using a real sdk (not yaml files) and it can figure out and apply the migrations from the current state to the new state. (right?)


Yup!

And in addition to making it easier to manage cloud resources by defining that state in a programming language, Pulumi can do other interesting things with your resource graph too. For example, analyze resources and check that they are compliant with security best practices and what not. https://www.pulumi.com/docs/get-started/crossguard/


Except for occasional flare ups, mine is pretty much gone and at worst was pretty debilitating (eg hurt to pick up a glass of water). I think all of these do a lot:

- Exercises and stretches from the pdfs here: https://orthoinfo.aaos.org/. Finding some that feel kinda good and then doing them a few weeks worked better than suggestions from doctors. I do the exercises as part of my warmup for my normal 3x a week workout and do the stretches at the end.

- Use a stylus for my phone at all times. Just the type that is a ballpoint pen with a rubber tip on the cap. Also a pop-socket to hold it with.

- Cut down on bike riding for the sake of my wrists.

- Play mostly console games, less phone and PC b/c consoles have more ergonomic controllers.

- Fasting. I do at least a 24hr fast every week and that always works at least temporarily. I have several problems related to inflammation and for some people this helps a lot.

Geekiest bonus suggestion: use XFCE as a desktop and configure all the hotkeys so you can do things like move windows around with the keyboard.


I have my site in an S3 bucket with the static-site flag activated. It would not win for 'easiest'. However, it's the only thing in my personal AWS account right now and my monthly bill is $0.83


Cheapest however, is out the window.

I mean, if there's a chance, however remote, that you might end up as the #1 of reddit or whatever, stay away from S3. Your site won't go down, but oh god, you pay for that.


How much though? And stick it behind CloudFront. The Free tier is 50GB and 2,000,000 requests.

https://aws.amazon.com/cloudfront/pricing/


yeah no. even if it gets wildly popular over night you'll only pay a few dollars


An S3 bucket is intended as storage, not retrieval. Downloading from S3 means grabbing shards. You should put a proper CDN, like CloudFront or Cloudflare, in front.


Pfffffft. It’s probably a personal site with 10 visitors a week. Let’s step back a little here.


Let's be real here.

He clearly needs kubernetes.


Hahahaha


This is correct. Why would I put any more effort into it?


Cloudflare at minimum it's free as well and will protect you from bad actors which will save you $ if someone starts an infinite loop requesting your site.


And 9 of them are just bots.


> You should put a proper CDN, like CloudFront or Cloudflare, in front.

I understand what you're saying, but why? I assume the site in question is pretty low volume. What's wrong with serving directly from S3?


You can't get https on S3. Also many interesting headers are only available via cloudfront.

Also you get a little bit of protection from someone sending lots of traffic to make you spend $$$


S3 does not support gzip compression.

https://news.ycombinator.com/item?id=26600816


You can generally query any object off s3 in a few milliseconds..

I have a system doing 10s-100's of millions of reads a day from s3 with very consistent and fast read times.


Why, if his monthly bill is 83 cents, and he values his time? Does not using a CDN impact performance in a crippling way that neither me nor the poster you're replying to understands?


The big gain with putting Cloudfront in front of it is you can have HTTPS.


HTTPS gets you better SEO and the ability to be iframe'd from HTTPS sites.


And some security.


And loose 30 mins of your life you’ll never get back. It’s just a person site.


Browsers will light up like a christmas tree if your site doesn't have https.


Performance maybe a little bit, but IIRC you, as the owner of the bucket, pay for bandwidth out.

Putting it being a CDN protects you (at least a little bit) from the possibility of a huge bandwidth bill at the end of the month if someone realizes they can attack your wallet directly by trying to ddos your site.


I agree– AWS bandwidth out is literally 100 times more expensive than CDN and VPN bandwidth out.


indeed, not to mention generous bandwidth rates on vps providers too


*VPS


It takes like 30 seconds to point a Cloudfront distribution at an S3 bucket. Maybe a couple minutes more to set up the domain.


Eh, only if you've done it before. If it's your first time, it can easily take 30 mins to an hour, if you also have to figure out how to host the website on Route 53.


Well, sure, but every suggestion is going to take some time if you've never done it before. It's not like it's an obscure skill that you'll never use, it's pretty handy to know.


I don't think it matters much b/c of the super low volume but I do have it behind Cloudflare free-tier.


> Does not using a CDN impact performance in a crippling way that neither me nor the poster you're replying to understands?

It adds up to 600ms of latency for each roundtrip. A modern website without link rel=preload is several roundtrips– download HTML page, then do JS requests and CSS, so that's ~1.2s of additional latency.

Because he succumbed to AWS' marketing. Surge, mentioned downthread, lets you deploy a folder for free on a worldwide CDN with virtually no setup.


I agree, S3 is only storage. S3 even does not support gzip compression.

If you are hosting a website in s3, please put a CDN with gzip support in front.


You can use CloudFront with an S3-backed static website.


This terraform script takes it from 'stupidly complicated' to really really easy: cloudmaniac/static-website/aws


Index fund performance is starting to sound exactly like "house prices have never gone down" in 2005.


Have you seen house prices lately? I wish I had bought in 2005


Batching things into 'contexts' is the premise of Getting Things Done by David Allen. It was popular in the early 2000s. My guess is that the older engineer that told the author to batch things was referencing it [1]. It's a business book based on aggressively making and prioritizing todo lists and then working on them in contexts like 'email', 'phone calls', etc.

[1] https://en.wikipedia.org/wiki/Getting_Things_Done


When I read it on the ballot when I voted I immediately assumed it meant "libraries, etc", but now that you say that I'm worried "community areas" is bureaucrat-speak for "neighborhoods". Much different implications.


Yes, "community areas" is bureaucrat-speak for neighborhoods. (https://en.wikipedia.org/wiki/Community_areas_in_Chicago)

It's useful for city planners and the like because "neighborhoods" have fuzzy boundaries that people disagree on, but Chicago's community areas are well-defined.


> "community areas" is bureaucrat-speak for neighborhoods.

Not exactly. "Community areas", in Chicago, represent a relatively stable division of the city, with the map drawn up by the government, in order to support city planning and suchlike. Many of them are named for the most prominent neighborhood that falls within their borders, but that's not always the case.

Neighborhoods are a popular division, and is socially constructed by people as a whole. The boundaries are amorphous and constantly shifting. At my last apartment, my own neighbors described our block as falling within about 3 different neighborhoods. (This never resulted in any argument, because everyone understands that the definition of neighborhood is fuzzy at best.) Even where you have a community area and a neighborhood that share the same name, they don't necessarily coincide all that well. For example, just about nobody who lives in the area would recognize the boundaries of "Lincoln Square" as being those of the Lincoln Square community area. To them "Lincoln Square" means the the Lincoln Square neighborhood, which, even by the most generous of standards, is still maybe 1/5 the size of the community area by land mass.

Aldermanic wards are yet another thing, and their boundaries really don't have much to do with neighborhoods or community areas. For starters, there are officially 50 aldermanic wards and 77 community areas.


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

Search: