Better HN
topnewbestaskshowjobs
Log inSign up

needcheapbw

4 karma · joined Aug 23, 2017 (9y ago) · 12 submissions

Submissions

comment 9y ago · link · parent

Like, for(int i=0; i<10; i++) { // todo } OK well yes there can be bugs using the index and even C++ back when I was doing it had the Boost library which had for_each. In Java we got something similar back in Java 5 or 6. Also we have fancy stream operations now in Java 8 which took me the longest time to come to appreciate. The only down side is removed compatibility with other languages like C and C++ and C#, locking in the app to a specific language more.

There is on rare occasion, however, sometimes a problem that is solved more clearly or handily using indexing, similar to step indexing in BASIC.

One use case where I've seen stepped indexing useful is in the field of robotics, which uses step characteristics for synchros and servos.

comment 9y ago · link · parent

That is correct. Glaciers melt constantly, new snow forms as moisture accumulates in higher elevations and condenses, falling as snow. The snow becomes the beginning of the glacier. It's a cycle that repeats. It is repeating right now, every year.

https://nsidc.org/cryosphere/glaciers/life-glacier.html

https://www.iceagenow.com/List_of_Expanding_Glaciers.htm

http://www.esa.int/spaceinimages/Images/2016/11/Pio_XI_Glaci...

comment 9y ago · link · parent

Agree with all of that, been saying it for years. Even people who aren't into the whole space exploration thing do agree that the Moon would be much better for the foreseeable future.

comment 9y ago · link · parent

Citation? How long is the lag? Years? How long does it take to fill a bathtub? If so much ice is really, actually melting in the world and has been for years; no shoreline changes have occurred anywhere in the world, then that must be some amazing lag.

comment 9y ago · link · parent

If you take a look at some of the locations, many are not steep, many are at or near the waterline.

comment 9y ago · link · parent

> There are very few cases where a for-loop is the right thing to write.

I'm trying to get my head around that, do you mean any for loop is bad or many nested loops?

comment 9y ago · link · parent

Has the waterline changed:

https://www.zillow.com/homes/for_sale/AK/3_rid/waterfront_at...

comment 9y ago · link · parent

A US location will be welcome. Might have to start using a real server for a change.

comment 9y ago · link · parent

:-) Well Bezos is a genius, perhaps he will figure out that mom and pop businesses are the backbone of the world economy.

comment 9y ago · link · parent

My Lightsail gives me 3TB. It's a huge card for me. The only reason I use them at all for hosting.

comment 9y ago · link · parent

OVH isn't an American company, that probably matters to a lot of use cases.

comment 9y ago · link · parent

> if you rented 1000 x $5 droplets from Linode/DigitalOcean, and maxed out all of their traffic quota, you would get kicked out.

It might happen but it doesn't refute the parent's point:

"Right now Linode's and DO's smallest $5 plan offers 1TB of transfer, which would cost $85.00 on Google's new standard plan."