3,044 karma · joined Jul 2, 2013 (13y ago) · 2,751 submissions
comment 4y ago · link · parent
It's kinda like tree shaking in JS. Super standard practice and hugely deployed everywhere. I don't care that zip or tar are removed. I care that my app runs, passes QA and gets deployed to prod.
I don't know what other containers people are running but if you have Lotus Domino running in a container, fine, don't minimize that, I'm super happy to minimize my node process that collects HTML files from other sites.
This is great.
comment 4y ago · link · parent
In any case, I definitely agree with all those pros. What I dislike about PHP is that as you start growing a codebase, especially with includes, your attack surface just grows and grows and grows. In other frameworks where a stack is involved attack surface generally grows as well, but since any PHP script has access to the request, it's much much worse.
comment 4y ago · link · parent
Years ago my town had a bunch of lumber yards where you can get market rate lumber. Home Depot moved in and provided way lower than market rate lumber until all of the independent lumber yards went out of business in the area.
Then they raised the price above market rate and that's that. Everyone hates them for that but we all shop there.
comment 4y ago · link · parent
- Tax empty houses a REALLY high amount after a month of occupancy loss. This puts extremely high pressure to get the house sold after the month. Living in your house while you sell it? No penalties.
- Make renting a house extremely painful for landlords. Renting can be replaced with new forms of community ownership - communities that own X properties in many cities and people can swap (for job relocation and other things). The Landlord business IS the oldest rent-seeking business. Buy a property, rent it out, pay nothing on it for 30 years and at the end of that - it's yours. In my opinion that should be illegal. People that disagree are landlords and people that think renting is the only way. Invent new ways to do short term house ownership. This is the startup capital of the world (HN).
- Require unused office space to become homeless shelters if unused after 6 months. Government will pay for the lease at a fixed maximum price. Get your shit leased or house the homeless.
The jist of this is that if we did things like this, we would probably have no homeless, the price of homes would come down, and everyone would have a home. In fact we would have such a huge surplus of homes, most people would be able to easily upgrade.
comment 4y ago · link · parent
https://www.youtube.com/watch?v=twhvtzd6gXA
I mean watch this and tell me you don't want what they're selling.
comment 4y ago · link · parent
Reactivity Data Initial Page View
SS Delayed Delayed Quick
CS Instant Delayed Super Slow
It depends on what kind of site you are optimizing for. If you run a site you expect to see someone only for a few minutes go with SS. If you expect them to stick around, like they are checking statuses and updates, CS is better for user experience.It's not impossible to have CS with lighter components too, but generally apps that have had a longer lifetime and revisions will get heavyweight components.
comment 4y ago · link · parent
I bet that in 45 years the conservatives are going to be the ones arguing to keep some social networks alive and the progressives will be pursuing closing them down because they ruined society. (or something like that just as comical)
1094.
PG&E Reports Profits Declined 10%, Which Means They'll Just Raise Bills Again(sfist.com ↗)
15 points · by coding123 · 4y ago · 8 comments
comment 4y ago · link · parent
https://www.youtube.com/watch?v=SHhsmtWrjEI
https://www.reddit.com/r/TheSimpsons/comments/sjlqds/i_told_...
comment 4y ago · link · parent
Generally too one of the causes of this craziness is that we keep outsourcing our manufacturing to China. China is only making these items because a much larger American company like OXO has them making really awesome kitchen items (for example) So it's not that hard for the same factory to create a series of shell companies that also sell the OXO stuff. I mean how hard is it to copy and paste the ads that the legit companies make and sell directly?
If we didn't outsource everything then it wouldn't be happening.