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

Seems better with a border radius of 1.25rem. Also making the border thickness very thin seems to help, as well as some making it more oblong.


"I think its really awesome to see just how fast you can move on these things, if um... you just get a bunch of people who really want to do it"

-- Andreas Kling on this progress: (https://www.youtube.com/watch?v=Xa5_tW_eovM)


Then, not too long afterward, they forget everything.


Aren't there some hard problems on leetcode?

I can see this analogy as:

"Don't do your math homework. Instead, find hard math problems in real life to solve."


> We avoid the fanfare of Docker, as really it's not needed for Java apps; they're somewhat self-contained anyway and it created more problems than it solved.

What does this mean?


Because the code runs in a VM already, they are not concerned about isolating further.

For example, if you're writing code in C++ targeting Linux, using Docker helps with reproducible builds and deploying on any hardware.

But if you have a VM, there are less advantages. There still are some, of course, with orchestration etc if you want it.


I guess I was implying that I don't view the benefits between the prior and the later as an onto mapping.


Java apps have been "cloud ready" in a sense for about 20 years. JavaEE had a "WAR" or web archive file format that packaged an entire app up into a single file that could be deployed in an "Web Application Server". IBM wanted web servers to be mainframes, but for webapps. You could even deploy multiple apps in a single JVM, because the server would load each app in a separate classloader, meaning the apps were internally isolated from each other. The JVM even had an attempt at a cgroups like concept, called a Security Manager (that was abandoned, thank goodness), long before cgroups existed. Think WAR file = docker container.

Now, a lot of complicated bits were inherited that didn't need to be there when they brought over the mainframe thinking into Java apps, but the WAR format was actually something kind of cool they got right.

We in particular, take that WAR format, turn it into an executable, and we have a program that can execute on any hardware on any person's computer, with no pre-reqs except a JVM being installed. We test the _exact_ war file on a ARM RPI , developed on a Mac m1 or x86, and CI on a Linux x86.

Alright what does this mean? Lets take a look at another language...say a PHP application.... which may require extension Unix utilities of certain versions installed on the host system. You may need a certain version of PCRE grep, a certain version of curl, etc. This theme carries over to multiple languages, your python or ruby implementation may not support the latest version of libressl, or it might not even support your ABI at all. Docker solves these problems gracefully, by providing a fully configured virtual operating system tuned for running exactly one app.

The JVM... well doesn't need that, if written properly. Generally all the libs it uses are written in Java, they include all of their dependencies already, apps can be isolated with classloader boundaries (if that's your thing), you can download a single file and launch it if you use the "one-jar" technique.

So yeah, Docker loses a lot of it's luster with Java. It's not that you _cant_ use it, but it you can solve all the problems it does otherwise. Long rambling explanation but there you go.


I think it means that they like to install software and manage servers rather than renting a container cluster to host your app.


Also, those services are much more than email, so the analogy that the author is trying to build to bolster their argument doesn't really work.


> If you nationalize housing and hold prices low, then there will be supply shortages where some folks will not be able to get housing who would happily pay your price.

If you nationalize housing, wouldn't you also subsidize supply?


While that'd be able to guarantee housing on an "a home exists for every person in the country" level, it pretty often means sending people away from economically-healthy areas (which should have plenty of housing competition / are or will be built to capacity, because they're healthy). Subsidized housing in those areas is more expensive by far for someone, regardless of how it's done.

Hence the wait-lists even where it exists; people want to live where they can be near what they need (be that work, medical, family, etc), not literally anywhere. The "literally anywhere" tradeoff may be worse than homelessness, or at least perceived to be.


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

The short answer is: No, in a command economy, what happens is whatever the politicos demand.


Does not seem to be true based on all the waiting lists and shortages of government funded housing in the US.


Assume a well funded program. Everyone gets a home at an affordable rate, and homes are built in anticipation of need.


Why would you assume that? I would assume a program funded by Congress, and therefore a political football.


How will that ever happen when delivery, moving, construction, etc are essential parts of the economy for "large parts of cities"?


You can totally ban individual cars while allowing delivery, moving, construction, emergencies, public transport …

A lot of city centers in Europe have been closed to cars during the last decades but special trafic is still allowed.

It just works and it’s better for everybody.

And now I hope this will be extended outside of city centers.


Sure, but how does this system work? Especially with newer services, like ride sharing, where people use personal vehicles to transport people within these areas?


You could require them to register as commercial vehicles. You can enforce using physical barriers or punishing fines/use fees for people that don't enter the area with a fare. Taxis can only go in certain parts of airports, rideshares have designated pickup zones, it seems to work fine. Or you just say that one of the downsides of being a part time driver that isn't part of a regulated fleet is that you don't get to congest downtown areas.

In Granada Spain I noticed that certain parts of the old city had physical barriers that could only be passed by a vehicle with the right NFC pass. Generally taxis, busses, and a few private cars that seemed to belong to people with property in the area. It made it very pleasant to walk around the old streets without having to suck down exhaust fumes of idling cars.

As you noted, Uber is a newer service, plenty of people happily lived their lives before it existed.


As an example, this sign [1] is at the edge of Copenhagen's main pedestrian shopping street.

The international symbols show it's a pedestrian zone, and there's a rule of no stopping from 11-04 (no stopping meaning not even any loading/unloading, a stronger restriction than no parking.)

The text says "Residents excepted" (under the graffiti/sticker) and "Goods vehicles excepted 04-11" (so deliveries and rubbish collection in the morning) on all days including Sundays and public holidays.

50m down the cross-street on which the StreetView car is driving, there's the standard sign for no motor vehicles [2], and the text underneath says "Except for business" -- so this street can be used all day for delivery vehicles etc.

Both signs are enforced similar to parking: get caught, and you'll be fined. I'm sure you're less likely to be challenged if you're driving a van with "Plumber" written on the side, but it shouldn't matter.

No doubt it's more complicated in cities where this is enforced by cameras.

(In addition, the pedestrian streets are mostly conflicting one-way streets [3, and do a 360°]. No problem for a delivery, but useless as a shortcut.)

[1] https://www.google.com/maps/@55.6779772,12.5729422,3a,25.5y,...

[2] https://www.google.com/maps/@55.6772541,12.5737765,3a,23.2y,...

[3] https://www.google.com/maps/@55.6814522,12.5751944,3a,75y,12...


It doesn't work, nobody ever thought of it.

RIP Europe, you will be sorely missed.

On a more serious note, ride sharing services are considered as taxis which are considered public transport and public transport is generally allowed at least on designated roads.


> Sure, but how does this system work?

You walk or take transit within that area? In my experience European cities are super walkable within the core, never bothered with taxis or ride-sharing.


None of which requires unrestricted access for personal cars or motor vehicles.


Same way you designate loading/passenger zone parking or bus/taxi only lanes for large parts of cities.


yeah, there is a lot more in the last 16 years...

i too suffer from immediate references to tell me i know nothing, but we are all the same, reading the same stuff, even right here...


To preface, I am not trying to nitpick here. I am generally curious.

Is this a correct usage of amortization?

https://www.merriam-webster.com/dictionary/amortization


I don’t know, I’m not a native English speaker. I meant that: “to gradually reduce or write off the cost or value of (something, such as an asset)”


In terms of CO2 specifically we can think of it as the 'embodied carbon' which the CO2 created during manufacturing of the parts, transportation, and assembly. Then we have the 'operational carbon' which is the day to day impact.

So to amortise the carbon cost we take the embodied carbon, plus the operation carbon over a time frame. If the operational carbon is negative we would expect that at some point it would break even.

So to help with the English, I don't think it makes sense to talk about the amortisation during the change over since that is just the embodied carbon. But I think it definitely makes sense to talk about the amortised cost over some other time period after the change over.


Amortize is more than that imho. It’s about making a margin too.


No it's not. To amortize is simply to spread the cost over time.

That spreading may come with its own costs, like interest, but that is not an essential component of amortization.


TY! TIL


You are welcome. :)


It is clear what the GP meant. What would be the correct word?


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

Search: