Better HN
topnewbestaskshowjobs
Log inSign up

randomtwiddler

89 karma · joined Jan 25, 2022 (4y ago) · 63 submissions

Submissions

comment 4y ago · link · parent

The amount of friction a designer gets for adding several multi MB images to a page, in every organization I've worked for, is very little.

2 MB minified, compressed, ball of js is nothing. I've even seen companies accidentally put their debug builds in production (>15MB js ball) with without noticing or getting complaints.

I'm much more sensitive to page weight than most, and every sizable dev shop should have someone who is. But even I realize that current business reality is it didn't matter nearly as much as sensitive tech people think.

comment 4y ago · link · parent

Your fear, or lack there of, may or may not reflect reality. It's not really a good basis for an argument.

The right to bear arms is based on the idea that a person has the right to defend themselves, their life, loved ones and property.

This basis is plenty sensible. Plenty of history is filled with violent criminals, governments, invaders, marauders, rioters, pirates. And it is sensible to suppose that, even if not present now, the future will have them too.

comment 4y ago · link · parent

This is a problem of responsibility. Regardless of conditions, ultimate responsibility for a child's education is with the parents. This notion that it is the governments job is backwards and dangerous. Teachers don't love my children. Administrators don't love my children. I love my children. Anything someone might claim is love, doesn't hold a candle to a loving parent.

Taking responsible for education doesn't mean you have to do it all yourself. You see that it happens and accept the personal cost.

Your assumptions about me is not only wrong it's irrelevant. Not only do I have more experience raising children than any two men you are likely to know (I have many), I've lived among much much poorer people than 99% of hacker news. In places that struggle with running water and electricity to say nothing of Internet (none).

You're feeding me a bunch of excuses. Yes, some people struggle and it can impact their ability to do it. But where there is a will there's a way. Good parents find a way, it has much less to do with wealth and much much more to do with good family structure - which even poor people can do perfectly fine.

Cause and effect are often reversed. You aren't going to have good families because you are wealthy. Families get wealth when they are good families.

When children are well loved and have good characters they will prosper. They will understand good families and tend to have good families themselves.

A lack of love creates behavioral problems that can dominate a life and can easily be passed into the next generation. A society centered around school life will not provide children with love in a life devoid of it.

Society can't fix the problems at home but it can certainly stop getting in the way.

comment 4y ago · link · parent

> We have an answer to this. It is, empirically, a very long time, as there seem to be a handful (possibly only 2, certainly less than 5) users impacted negatively enough to report an issue. It does not usually make sense to solve an issue that doesn't exist. Presumably dozens of users reporting the same issue would cause a reprioritization, but if no one is complaining, there's no reason to change priorities.

You have enough information to understand that it is a problem, regardless of how many people are actually complaining to you. I self host git, if Google was chewing up 120gb a month of my bandwidth I'd definitely feel it but I wouldn't figure out what was going on easily, let alone figure how how to complain and stop it.

The behavior is rude and bad engineering. Just because people aren't yelling at you for leaving dog poop in their yard doesn't mean it isn't a problem for them too.

comment 4y ago · link · parent

Seems like recrimination to bring up unrelated items.

comment 4y ago · link · parent

Parents can educate their own children. The costs for well outlined curriculum in the digital age are minimal.

comment 4y ago · link · parent

Page 2 definitely has big wins, not only for the user but in reduced server load and thus cost. That is really the key bit of information in answering the question, to SPA or not to SPA.

comment 4y ago · link · parent

You say "weakest link" like there is an optimum. People are regularly downloading 4k video. By choice, they want to be doing this.

Amazon is one of the most successful websites ever created and last I checked came in at over 12MB page weight. Mostly highly optimized images. I'm sure they wrangle and agonize what shows up there.

There's a limit somewhere, but pointing the finger at a ball of js that compresses to less than 500k isn't particularly reasonable.

User experience is more about latency. Be it from local compute or remote compute+network.

If your visitors are one and done you must SSR at a minimum. Because that will drive the average latency of the majority of user experience.

If they are long term users, you should seriously look at user local data and potentially full offline functionality that can mask even poor 3g performance and spotty networks. Making users suffer long term through an MPA architecture is silly.

comment 4y ago · link · parent

Stop griping about SPAs. Local compute is powerful and lower latency than the data center across the country or world.

Page weight isn't that big of a deal, a 2 MB ball of js is nothing compared to the multi megabyte pictures and videos people routinely add to pages.

For some use cases MPA is fine, but in many cases it's actively worse and higher dev costs to boot.

Service workers are an interesting middle ground I think should see more attention and development. I like to combine service workers with SPAs for fully offline capable web apps.

comment 4y ago · link · parent

Why are you developing on cloud vms? Those should be on local dev boxes rather than in the cloud.

Also, you can use vms from other vendors. You don't have to go full dedicated.

You have two small prod servers. Yes, other cloud services would be cheaper but it's probably not worth the migration time. Stepping on dollars to pick up pennies.

comment 4y ago · link · parent

Periodic fasting for 24 hours (few weeks between) can improve health and help you gain mastery over your appetite.

Good luck with your journey. Years of life can be hard to change.

comment 4y ago · link · parent

A follow up. I'm more interested in a devs understanding of memory complexity than time complexity. Every single production performance issue I've seen out side of academic questions had been due to memory management issues.

comment 4y ago · link · parent

You seem to be missing the entire point of this kind of question. Yes, you are providing an upper bound. But as you yourself admit, your answer is useless. The point of big o is to put the lowest reasonable bound on an algorithm so they can be compared.

Your approach is basically interview trolling.

I don't use big o in interviews. That's more the domain of big data than the web slots I typically fill. I'm more interested in the depth of understanding they display in the techs they claim to know.

comment 4y ago · link · parent

Any abortion is not particularly safe. The mental scars alone and guilt should give more pause to be cautious with this procedure.

comment 4y ago · link · parent

This gets really messy if the service is simply unavailable for whatever reason. If it's your right then should the government get involved in coercion? Mandates? If it's unaffordable, price controls?

Calling a service a right is fraught with moral hazards.

comment 4y ago · link · parent

You can't have a right that is also a service. Services are based on voluntary exchange.

comment 4y ago · link · parent

I like to make fat clients with service workers and depend on the server a minimal amount. Helps keep server speeds fast and utilizes all that local processor capacity so the user doesn't have to wait for network latency.

For things that require actually waiting, prefer progress bar first and basic spinner when it's not practical.

comment 4y ago · link · parent

Getting more personal, I was addicted to porn for over 20 years and it made my marriage almost impossible and I almost lost it. It wasn't until I quit that it blossomed in many ways.

Being free of it, I'm experiencing real love which I now realize was out of reach previously because of my addiction. It's much more fulfilling and worth every effort.

I could not see the self damage nor the effect on others my habit of lust created while I was ensnared by it.

Getting free wasn't as easy as I thought either. I had stopped viewing for six years, but I still lusted after the women I came across. Consuming then visually from a distance. These practices still held me back in my marriage, my joy and ability to love and even be loved, even though I made no moves to court others and at least had the appearance of faithfulness.

Seeking God above can grant you power over any addiction. Lean on Him to help you.

comment 4y ago · link · parent

Porn provides a counterfeit of love and human intimacy. Love is designed to give you joy and pleasure but also to elevate you and make you better through working to improve a relationship by making your partner happy. To have someone to serve while also being served in turn as you sacrifice together to work for mutual goals. While also providing posterity, which also adds to your happiness as well as require fulfilling work.

Porn provides an illusion of love with no work and no lasting happiness or satisfaction. It's highly addictive. It harms everyone involved, you and especially the women. Turning them into objects instead of people with needs that are being violated by being remotely consumed by the viewers. Making you less capable of true love by rewiring your brain to expect the counterfeit.

You can't really get a marriage to blossom while addicted to porn, you just can't.

Men can build women up or take from them (even remotely) and by doing so tear them down. Women don't like being objectified.

comment 4y ago · link · parent

I avoid it because of unsafe billing practices. As someone higher up in the comments said, "don't buy stuff you can't afford". The problem there is understanding AWS billing is an industry itself. Numerous stories of people who thought they understood something they didn't. Software bugs resulting in bankrupty.

I have to have billing predictability out of my service provider.

I'm not aware of AWS employment issues other than it being a place to burn you out, but the wearhouse side has had plenty of newsworthy incidents.

comment 4y ago · link · parent

This is a pretty poor characterization of the context of the comment.

Accusations are flying around here including calling them liars and intentionally hiding information. This is a far cry from "merely asking". Particularly since the other party isn't present in the forum, providing the avenue available to us to actually do the asking seemed reasonable to me.

Unless the point is to complain uselessly into the void because of the need for two minutes of hate against political enemies. Then I'll bow out...

comment 4y ago · link · parent

My experience is that states generally have FOI requests that can be made where all the records of such activities are subject to inspection.

Have you even tried to get the records? Or are you just complaining that they weren't provided in the announcement for your convenience?

comment 4y ago · link · parent

As a former student and now a parent. I have no idea why we need to recreate math books over and over and over again. Seems an incredible waste of resources. The fundamental material doesn't change.

I have seen politically motivated questions pop up in math questions for my kids. For years, this is pretty standard practice in my experience. Its not an appropriate venue to promote ideas yet it is used.

I am unsurprised at the Florida announcement. But it speaks to much deeper issues in education and I'm uncertain at Florida's moves.

comment 4y ago · link · parent

Seems a false equivalency. The majority of the personalized destruction, cancelling, firing, etc, comes from one side.

comment 4y ago · link · parent

> Tacitus or Voltaire are variously credited with the notion that in any epoch, to know who is in power, ask who you may not criticise.

That doesn't work if/when a value claimed by those in power is to turn the other cheek. At least if it is followed, then this wouldn't be accurate.

comment 4y ago · link · parent

You can just use ssh also. Which I have found to be not only easier but has better performance for a simple port forward case.

comment 4y ago · link · parent

Moved from AWS to vultr. Primary reason is unsafe billing practices at AWS. I'm a small shop and felt very uncomfortable about the potential of getting a surprise $xx,000 bill from AWS. The hack in December tripled my anxiety. Changed my password and migrated in January. Closed out my AWS account once every last service was migrated.

I mostly use only basic services so pretty much any cloud provider can fit my use case. It took some time but I have peace of mind now.

comment 4y ago · link · parent

I tried it.

I found it harder to use. I even wrote tests for my use cases and what I learned was a real appreciation of what ssh does, is, and provides and I went the other way and use it in more places than I did before.

comment 4y ago · link · parent

I'm all about reducing the noise in log files.

I've had three production servers go down for various clients and the primary reason was full disk, primarily due to log files.

comment 4y ago · link · parent

The lack of universality is a problem. People experimenting with unknown formulas get unknown results including deep seeded unhappiness.

Fidelity to a single partner of the opposite sex will produce the best results. Children are more important, and more fulfilling, than anything one might accomplish in a career.

123