893 karma · joined December 11, 2020
Behind the scenes you probably have some cloud hosted resources for the website, product portal, some kind of admin portal, and some physical infrastructure associated with all this. You probably also have internal tools: Jenkins, Sentry, GitLab, misc home brew apps, etc. You'll save yourself all sorts of trouble putting this behind a "service" domain (e.g. example.net).
- Customer facing URLs always have prime choice of URLs that will never conflict with usage elsewhere
- SSL certificates can be managed independently with much greater ease
- Delegating DNS responsibility (essential for automation) becomes much easier
- You'll almost certainly be moving components around (e.g. your site, how your host your backend, extra goodies like a blog). This makes it easier to keep example.com URLs simple and intuitive. Your "service" domain is likely to be much more literal in its organization of resource records, as it's likely to have lots of mappings to specific, real things.
There isn't a security benefit, but every time I've seen this rule violated it causes pain at some point.
The only working alternative (editing if I stand corrected!) using buttons is to make them form buttons. Now otherwise intuitive behaviors (e.g. forward/back, refresh) are laden with "you're about to resend data!" warnings that completely break the flow.
To me, it makes perfect sense why this trend evolved. Most people agree with the underlying premise about user expectation on button vs link. Dressing links up as button is a direct response to that. I understand the technical arguments, but users care what it looks like and how it behaves, not how you implemented it.
Edits:
- Yes, you can use <form method="get"...> without scary browser warnings. It just gets a but ugly if you have lots of buttons, as each needs its own form wrapper.
- 303 redirects to POST request are a handy pattern to be aware of no matter what :)
Obviously some brand/product domains are related to the technical implementation (e.g. load balancers are going to be using them) so there is no perfect boundary -- but there usually is a clear one.
In other cases you may have multiple, "first class" products that are independent of each other and your identity as the provider of those products. I'd definitely separate it then.
Unasked, but I think relevant: you should absolutely separate out your infrastructure from both your product and business. To carry your analogy forward, there would be facebook.net, fb.net, or perhaps even some code word thats used to refer to internal resources (servers, internal tools and resources, etc). It's fine if they're indirectly exposed to end-users or easily discovered.
He's got a lot to lose which the article makes painfully clear:
- time with family
- personal reputation
- fulfilling personal/religion goals
- ... and a lot more
Personally, I think it enlightening to consider the opposite scenario: what about those on the fringe with nothing to lose? The FBI has a life changing program for you! They'll give you a sense of purpose, a feeling like you're part of something, and all the support you need to ... become the star of the next foiled terrorist plot.
http://ghostinfluence.com/the-ultimate-retaliation-pranking-...
Even if there is a "raw" theory of economics that describes the "what" in a universally agreeable way it'll never tell us the "why" and "how" of it, let alone how politics should (or should not) be intertwined with the issues.
Looking back I'm amazed at how easily companies got off the ground by hiring eager (but exceptionally green) young web devs to write sensitive code for ordering/sign-up, recurring billing, and more.
In general, however:
Don't fall victim to one of the classic dev blunders -- the most famous of which is "don't roll your own crypto" -- but only slightly less well-known is this: "Never write your own billing logic when business is on the line!"
- An even 30 days = Easy to explain and do math with. Adding/subtracting 1 month can leave you in the same month or skip February entirely! Anniversary dates bounce around from month-to-month. Maps poorly to yearly calculations.
- However many days >this< month has = Harder to explain and do math with. Months without 31 days can get skipped when adding/subtracting 1 month. Recurring events get pushed away from the end of the month to cluster around the beginning of the month. It does result in a steady anniversary date for edge cases.
- Closest numeric day, but prev/next month (e.g. Jan 31 -> Feb 28): Easy and hard to explain and do math with. It's great for ensuring events only ever happen once per calendar month, but adds extra ambiguity (e.g. Jan 31 > Feb 28 > March 30? ... or March 28th?)
- 30.4... = Just no... except for the few times this is right and you need consistency to avoid unfairly comparing 28 days vs 31 days.
The consequence is some very surprising things the first time you see them. Some billing systems simply avoid doing work past the 28th of each month (either doing it a bit early or a bit late). Some just embrace the weirdness (whichever you flavor you pick) and you get used to the quirks (e.g. end-of-month lulls and start-of-month spikes).
If you're into this stuff I recommend the artist "Master Boot Record". In particular, they have "Keygen Church" side-project thats epically awesome.
Go open your text editor (vim, right?) to do some coding/etc and listen to https://www.youtube.com/watch?v=iJtVDEx2HSk. No matter what you do, ~20 minutes later it'll have been epic.
I highly recommend browsing through some ANSI art archives (some of which is very recent too). Two favorites of mine:
Personally, I find it astonishing that anyone could draw a line at humanity. For example, have you never bonded with a dog before? It's so blazingly clear that while there are obvious differences there are even more similarities behind how they think and feel. It's not just dogs: cows, pigs, and rats -- if you spend any time with them -- are obviously high on the spectrum. It's unfathomable that the line of consciousness is anywhere near being at humans alone.
My intent isn't to be insulting, but inviting! There is much splendor in connecting with non-human life, even if it doesn't have all the same qualities as human life :).
I think its best answered with a few related questions to consider what makes us lucky:
1) Longevity clearly matters, but the relativity of it is hard to assess: some sea mammals with emotionally-rich lives live twice as long.
2) Quality of life clearly matters. It's easy to imagine (and hopefully you personally know some!) pampered pets who have it unbelievably good: tasty food and nutrition, regular fun exercise, a fulfilling social and family life, a sense of purpose, etc.
And on the other end of the spectrum:
3) There are untold numbers of us who pulled the short straw in life and have lives marred in tragedy and suffering -- if they even are "lucky" enough to live long enough to comprehend it.
I think some of us are incredibly lucky and very much in the minority. The "luck" spectrum in life is so both deep and wide that I'm perfectly happy accepting "consciousness is everywhere" in order to focus on the question of what to do with the consciousness (and unfortunate lack of it at times) I have.
Actually, it's not that long and a light-hearted read. It is nice to see a bit of humor inserted into what is only a game.
I don't care if its my favorite treat either. I believed quite strongly that a little vs a lot doesn't matter: the best parts are in the anticipation, the initial bite, and enjoying the lingering aftertaste. Having more more bites to eat is a gimmick with nothing but downsides (however now I get how things like addiction can drastically alter that equation so the "more" is practically everything).
So show me a version of this test that doesn't have the assumption "all kids are greedy for food and the most successful ones will optimize for that" at its core.
You can verify this by writing a simple test script and doing (at least on Linux) "strace ./test.sh 2>&1 | grep exec" and observe no explicit call to that binary.
Be careful with using parenthesis -- this means you're now in a subshell! That "exit 1" will NOT terminate the entire script, but instead set "$?" to 1 for the next command. Additionally, any variable or environmental changes will be lost (which may be desirable) once you're outside of that block.
I love shell scripting and this highlights one of the major problems with bash: small changes like this can appear completely interchangeable with other mechanisms for doing the same thing but introduce edge cases that can unexpectedly bite you.
For example... consider what happens if "[ $foo -eq 0 ] && /bin/do-something" is the last statement within a function or the end of your script.
I've worked (and around) in many parts of the Internet (and precursors): dial-up BBS's, web hosting, VPNs, etc. It is virtually guaranteed that the better you are at upholding security and privacy the more certain you will (hopefully unintentionally) facilitate some absolutely dastardly shitbaggery. The kind you can honestly loose a little bit of your soul over.
I do think standing up for these kind of freedom of speech principles are important. However, the bottom line is that if the solution doesn't embody a reliable way to address the problems it enables then an external entity will attempt to do it, along with whatever extra agenda it represents.
You can't solve for freedom alone.
The pattern is that in these scenarios, usually the people are quite intelligent and often accomplished. This gives them a repository of valid phrases and concepts to draw upon to breath legitimacy into their boogeymen. The evidence they present, however, is completely benign. That person, however, has quite the story they think is proven. It's literally as if they're showing you a basic electronic device w/ the cover removed and that proves all sorts of maliciousness.
Attempting to argue back is completely ineffective and even if you "win" one point, they'll quickly shift to another and nothing sticks, especially not the next time you talk to them.
I wouldn't even remotely compare this to more commonly contested topics like differing religious/political/social views, even at the extreme. This involves a visceral fear that >you< are actively being attacked, not some nefarious, shadow with a grand plan.
Two words went through my head reading the response. "Crystal Meth".
Likely not, really, but having more-or-less lost an old friend to meth I can't help but compare the similarities (... the "identicalities" actually):
- the desperation and paranoia
- a solid (but wildly misplaced) basis in reality
- the overwhelming externalization of blame
- the need to lash out and draw someone else in
- the completely nonsensical evidence
Bottom line is regardless of the reason, "Al" is extremely unstable. I agree that the lesson here is to not engage these types.
I think there are lot of loaded words in our political vocabulary and their meaning can have subtle (or even significant) shifts based on who uses them. If "virtue signaling" includes a connotation of insincerity, and that aspect changes everything entirely as you show.
I used it in a more strictly technical sense, but I think it fair to say that with most language the neutral, technical version is the least common in actual usage.
- Virtue signaling is a critical component to personal and social moral growth. Showing where you stand and putting your money where you mouth is necessary to decentralize authority and improve the standards that are "baked" into society. Otherwise you're just appealing to whoever has the biggest stick.
- That people misapply a legitimate action or are overzealous in its application doesn't mean the underlying idea is wrong. The Internet is still quite young and its inviting a global confrontation of how to deal with deeply-seated social problems. Expecting this new-found power to be wielded without making mistakes is unrealistic.
- People are learning how horrible it is to rely on power and privilege to isolate you from the effects of your wrong-doing. Even if we assume the best of people and that they aren't consciously doing this, it is still pushing awareness closer to consciousness and thus (hopefully) better decision making.
- The importance of allyship is making massive strides. As oft quoted, "The only thing necessary for the triumph of evil is for good men to do nothing.". On a personal note, as a kid watching a neighborhood kid get his bully-buddy to stop throwing snowballs at another kid taught me a lesson I've never forgotten.
- "Good" and "bad" deeds always have a "blast radius" and require support of some kind to sustain. Engaging organizations and platforms that surround people is a critical component to making a change, or all you're doing is swapping the hood ornament on the car without touching the engine underneath.
Some arguments I'm familiar with around cancel culture are below. My goal isn't to assert them -- just enumerate some of them. People are welcome to reshape them or knock 'em down as they see fit.
- The Internet is a global namespace: now you can have people anywhere in the world outraged. What used to be a localized problem and response can now turn into a localized problem, but global response.
- The ability to go back-in-time is all too easy. That dumb comment you made as a teenager can come back years and years later to haunt you (or people close to you). Maybe you had a massive turn-around already or you were recorded without consent. Often that doesn't matter.
- It is fostering an insidious call-out culture. The focus is no longer on prevention and remediation, but on scoring points and repositioning power towards "the vanguard". Legitimate victims aren't helped to heal and offenders aren't led to improve.
- No room is given to defend yourself, particularly when mobbed upon. Even if the record is set straight later it doesn't matter, as your reputation (possibly friendships, career, and family life) is in tatters.
What I do feel worth asserting is this: no matter what the current norm is, always remember you will be judged according to later standards, right or wrong. The greater the disparity in power the more important this is regardless of role (e.g. boss, parent, etc).
For example, you cannot explain why people are overweight people by saying they are:
- generically stupid
- ignorant
- lazy
- self-deprecating
- biologically inferior
- weak willed
Clearly there are other more fundamental issues involved. What psychological needs and stress are involved? What environmental factors are present (or missing)? I think that to a degree you can generalize this to things like drug consumption and addiction.
I believe people have their agency and I greatly admire those who start and sustain significant health improvements of any kind. There is a reason there are so many self-help charlatans: the real key to unlocking success is complex.
Consider that by knowing someone's preferred source of news you can typically predict their political views with 90%+ accuracy, particularly if we're talking prime time broadcasting.
The news is meant to entertain: "To hold the attention of (someone) with something amusing or diverting.". To grip you, you're told stories about "your team" and its triumphs and tragedies. Sport is a relatively simple and benign aspect to all this.
In general (and some sports coverage does this), the rest of the recipe calls for outrage against "their team". It calls out their shenanigans and instills a sense of superiority over them. And as there is literally nothing you can do about any of this the only goal is to keep you coming back for more.
Perhaps in the past (... get off my lawn!) there were more attempts to inform people in a neutral sense. Maybe even to help people challenge their thinking and their bias so they're better equipped to negotiate disagreements in matters they can engage in and affect.
I can't stress this point enough. Learn to write product plans. Documentation that delights people being onboarded to new systems is always appreciated, often by yourself months -- or years -- later. Well written bug reports, feature request, and such can easily cut developer turn-around time in half.
And to add one more thing: humility. Be the type of person nobody >needs< to listen to because they can so clearly follow you by example.
The first rule of running a megacorp is... oh, wait.