You don't need to make your website fast, all you have to do is not make it slow in the first place.
Partially or fully generating a web site client side can be plenty fast, the slowness tends to come from using some bloated framework to do so.
1,247 karma · joined September 24, 2017
You don't need to make your website fast, all you have to do is not make it slow in the first place.
Partially or fully generating a web site client side can be plenty fast, the slowness tends to come from using some bloated framework to do so.
But then, did you really gain anything by using an ERP instead of just a dumb database, which would have worked just as well as backed for those applications?
It always turns out something like:
"Yes, please make that change, but don't do that refactoring/reordering/shuffling whitespace thing you suggested."
Change comes in, it is the actual wanted stuff, on top of refactoring/reordering/shuffling whitespace thing in the same PR.
I always try to be civil, but I can't deny that there is a possibility that some snark between the lines in my reaction may have scared them away.
The person in this case clearly want to contribute, so spending time on them may be worth it in the long run.
"We should migrate the whole project to use this framework." "The whitespace does not conform to this style guide." "I don't care if it breaks on old Androids, we should use all the new JS/HTML/CSS features, and I have already begun converting the code."
Give me someone who does enough work that they get well acquainted with the code, or none at all.
As for homeless people, you can't tell that someone is homeless just by looking at them. Your personal statistic include only those very visible people who in addition to being homeless have tattered clothes and are incapable of personal hygiene. The majority look like ordinary people.
I think what your experience shows is that food is not that hard to come by in the US, the local shelter or soup kitchen may have sandwiches that are superior to yours. Pizza once in a while is way cheaper than a home, not to mention access to medical care, so they get the luxury they can afford.
Other typical strings include strict bedtimes, including getting awoken early and told to leave. Mandatory religious activities. And a lot of homeless people will report being talked down to at shelters, and generally not being treated well.
The good shelters are always filled, if it is cold enough, the bad ones are as well.
Homelessness is mainly a result of poverty, if you want fewer homeless people you should do something for the poor people, so that they may stay or return to being homed. What government programs exist for this purpose are generally woefully inadequate.
Another example of strings attached is SNAP/food stamps. You set up a bureaucratic system in order to give money to poor people that can only be used for food. Those poor people then wonder how they are going to pay rent.
While there certainly are individuals whom it is very hard to help, that is the minority.
If you somehow still have to immediately hire or reject all candidates and care about expected average, instead of just finding the best candidate. The optimal solution will have you reject fewer candidates outright, and then have the criteria for how good a candidate should rank to get hired lower gradually throughout interviewing, and drop sharply towards the end of the candidate list.
1. The problem only deals with optimising finding the best candidate, the "optimal" solution therefore has a high probability of picking a really bad candidate. In reality this failure mode is quite unacceptable.
2. While many real problems will have some opportunity loss by waiting, it is quite extraordinary that options are presented in such a linear fashion. In a real hiring situation you'd generally be able to go back to a candidate you interviewed earlier and hire them.
I'm sure there are also people who use C for quick and dirty tasks. Seems weird, yes. But if that is the language you know best it may be the fastest in the short term.
It is pretty simple, we have to do something about everyone's emissions, including the poor's. If that places an unbearable burden on the poor, maybe we should do something in addition, in order to help the poor. Like UBI, making public services free, forcing employers to pay decent wages, building sufficient cheap housing, and a lot of other stuff.
jQuery lets one use an innerHTML-ish style, but it is supposedly guarding against injection attacks in some way. I don't like the hand-wavy way it claims to guard against injections, as basically it has no way to tell what part of a string was meant to be text, and what was meant to be elements.
So I ended up coding my own library. No conversion of strings to elements, so naturally no injections. Very small and simple. But saves a ton of typing when generating DOM structures in JavaScript: https://github.com/NoHatCoder/DOM_Maker
In Denmark we are like: Need a domain for our common ID and login system? How about nemid.nu, where .nu is the TLD of Niue, but "nu" means "now" in Danish, so lol, let's use that. On top of like 7 other domains that users are randomly redirected between during use.
Whatever technical solutions can be made don't really matter unless normal people can and do use them correctly. In any case, simply setting up another non-phone computer to do the job of the smartphone doesn't change the fundamental issue, it can still break, or get stolen, or some account can get closed for spurious reasons.
If you couldn't see that from a mile away, then you might be too naive to work in security.