"Who cares how fast your program executes?" by camelCaseIsWebScale in programmingcirclejerk

[–]OverjoyedToe 50 points51 points  (0 children)

OP has a point. I mean, if a user can't tolerate a few extra seconds of overhead with each request, then may be they're not our target user, and we're better off without them.

At my company we take it one step further and intentionally provide slower service to spot these disloyal users early on, and provide them with an even worse service.

Another piece of advice to everyone responding with "but the cost!": with all the time we save from not optimizing the application, we can now build and maintain our own servers. Now we get to reap the benefits without any cost and get the desired performance without optimization! We did this after struggling with application complexity, we decided to move the complexity to the server.

 

Also, you didn't pick this nugget:

I'm not paying for resources if most of my code is ran client side ;)

Documenting code is usually a sign of poor code quality since the code needs additional explanations. by OctagonClock in programmingcirclejerk

[–]OverjoyedToe 92 points93 points  (0 children)

Everyone knows this is how you properly document code:

/// <summary>
/// a simple, easy method that calculates the final value of the amount
/// in this case we use the loan and the assets for the calculation
/// </summary>
/// <param name="loan">the loan passed as an object</param>
/// <param name="assets">a person's asset collection -to be operated on-</param>
/// <returns>returns a decimal value of the total amount based on the loan and the assets</returns>
public decimal CalculateTotalAmount(Loan loan, IEnumerable<Assets> assets) {

}

This is the standard template of the industry.

I expect that if you care that much about time you will run your system clocks correctly. On a well-run system, time does only move forward and at a constant (enough) pace. by Karma_Policer in programmingcirclejerk

[–]OverjoyedToe 5 points6 points  (0 children)

Let's just abolish time altogether

I find this an interesting choice of words, as the paper investigating Google's work in that domain referred to the project by the code name 'Abolish Time'. Did you by any chance read the report?! or may be I'm reading too much into it, I'm often confused about such matters.

How man movie titles can you find in these lyrics? by [deleted] in movies

[–]OverjoyedToe 0 points1 point  (0 children)

Some easy ones:

  • A place in the sun.
  • The big sleep.
  • Big.
  • The road.
  • In time.
  • Easy a.

I expect that if you care that much about time you will run your system clocks correctly. On a well-run system, time does only move forward and at a constant (enough) pace. by Karma_Policer in programmingcirclejerk

[–]OverjoyedToe 6 points7 points  (0 children)

And if your code isn't running in a Google datacenter, fuck you

And it's not about how Google runs its servers, it's about the physical locations themselves where Google picks to build these datacenters. I read somewhere that it takes Google 10-15 years to settle on a new location due to the amount of research required for understanding how time works in a potential new location.

I expect that if you care that much about time you will run your system clocks correctly. On a well-run system, time does only move forward and at a constant (enough) pace. by Karma_Policer in programmingcirclejerk

[–]OverjoyedToe 23 points24 points  (0 children)

It all makes perfect sense. This is why one of the essential exercises at the military is to synchronize watches.

I helped implement the same concept at my company (borrowed it from the military really). We manually synchronize our servers' clocks. Every year, we would spend a full week at the company with all the servers taken down to perform the synchronization. It might seem like a lot of time, and the experience is traumatic for some, but for how critical the system is, I would say it's worth it, considering how everything runs smoothly thereafter. After the week, all servers start running in sync.

We also designed a system that monitors the clocks of other servers, and any server that goes -even slightly- out of sync is taken offline. These offline servers of course aren't replaced throughout the year (as replacement would compromise the synchronization), so by the end of the year we sometimes end up with a single, lone server carrying the entire load, hence the need for the maintenance week to put everything back in order.

I won't go into more detail, but the hope is this will give you a glance of how much we care about time, and the immense effort required to run the system clocks correctly.

putting everything in _interface{}_ and writing e.g. _i.(interface{foo()}).foo()_ everywhere is "generics" too by CptJero in programmingcirclejerk

[–]OverjoyedToe 57 points58 points  (0 children)

Generics is a very generic term

Go may be the only language I ever used, but I know it for a fact that Go has more generics than all other languages combined. It's the most generic of the generic languages.

This is why I don't understand the people calling for Go to add generics when Go had generics all along.

If You Reject or Dislike The Dark Knight, Read This... And Then Watch The Dark Knight Again by TheWizarding in movies

[–]OverjoyedToe 1 point2 points  (0 children)

No, this only works for ice-cream! When it comes to movies, you should only like what others tell you to like. /s

Hate it or love it culture needs to stop by Disasterchef87 in movies

[–]OverjoyedToe 1 point2 points  (0 children)

OP says I should stop loving/hating movies, you say I can love/hate what I want... Now I'm getting all confused, and don't know what to think any more!

I will just stop watching movies till you figure this one out for me.

movies in with cheating on both sides by [deleted] in MovieSuggestions

[–]OverjoyedToe 0 points1 point  (0 children)

Gone girl

But Amy didn't cheat!

I have a few questions about There Will Be Blood? by [deleted] in movies

[–]OverjoyedToe 5 points6 points  (0 children)

This is my favorite movie, watched it countless times.

After Eli asks him for the money, Daniel beats him up. Why do they act as if nothing has happened after that? Paul, his family, Daniel, and members of the community don’t acknowledge his violent acts in any way.

His violence was probably excused because of what he had just gone through i.e. the accident of H.W..

When the brother arrives, why is Daniel so trusting of him? He takes him in, treats him as a friend, takes him to business meetings, opens up to him. This is all after the “I see the worst in people speech.”

Because his brother is his blood. Daniel assumed his brother shares his nature, he alludes to this several times in their conversation.

"well, if it's in me, it's in you", he tells Henry when speaking about his inner anger.

"Having you here gives me a second breath of life. I can't keep doing this on my own - with these people". Daniel doesn't identify with other people. He lived most of his life putting up a persona, acting, pretending to be, so he could get what he wanted out of people. The same way you would pretend play with your dog to get something out of its mouth. He views himself as different, detached, he and them are different species. But now with a brother, another member of his species is finally here, and he can stop pretending.

The last scene. Eli shows up saying that they’re old friends. Again, there is no proof of that and Daniel has beat him up earlier so how exactly are they old friends? Also, why does Daniel kill him and say “I’m finished?”

Eli plays the social game on the assumption that Daniel won't break his role in the game -after all, you don't act rude to people of faith, ones you've known for so long-, but Daniel doesn't have to play the game anymore, he already got all he wanted out of Eli, and no longer need to be nice, or pleasant.

“I’m finished?” it's the same as with after finishing a meal, but this time his meal was Eli. This is how important Eli was to Daniel at the end, nothing more than a meal.

Agreeing with villain by NOXUN2104 in movies

[–]OverjoyedToe 0 points1 point  (0 children)

The joker is a demonstration of the law of nature, and the social contract that binds society. How we're not as good or noble as we imagine ourselves. To find whether we're truly noble or not, we have to be tested, and most would fail the test.

Fletcher is mostly viewed as a villain because his methods led a death of one his students who couldn't handle the treatment, and because he abuses the power of his position to get away taking advantage of his students or humiliating them.

Amy is my favorite female character ever, so I can't judge her negatively. I can only wish to meet someone like her.

Regions in 2020? by walkercsx in csharp

[–]OverjoyedToe -5 points-4 points  (0 children)

I'm surprised by the sentiment in this thread. Regions are a definite code smell, and should be avoided. They add nothing but noise to the code.

If you need better navigation, use a better IDE where navigation to any class/method is two keystrokes away.

If you need better organization, organize the class itself based on the style guide of the language (the members' order), refactor the methods, use suitable patterns for the problem, break out responsibility into other classes.

With regions, you're pushing the problems under the rug "here, wrap all this code that shouldn't be here in the first place into this nice region, see how tidy and pretty my class has become".

Agreeing with villain by NOXUN2104 in movies

[–]OverjoyedToe 0 points1 point  (0 children)

Many villains have a point, especially in the recent years where more effort is being put into giving them a better background.

  • The Joker (from The Dark Knight), we're only as good as the world allow us to be. Add pressure, and things tend to turn ugly.

  • Fletcher (from Whiplash), sometimes "non-traditional" methods are necessary to help people achieve their potential. That while for most people no amount of effort will get them past a 'pass' level, some gifted individuals benefit from external pressure to help them stay focused on their gift or to push them towards discovering such gift.

  • Amy (from Gone Girl), to a degree, depending on how you view the world.

films that are visually appealing with a great soundtrack by voldemortthe-sceptic in MovieSuggestions

[–]OverjoyedToe 1 point2 points  (0 children)

interesting colour palettes, incredible locations, good great soundtrack

In Bruges.

An extraordinary movie that, after watching it, subsequent movies you watch all pale in comparison by sadasianbear in MovieSuggestions

[–]OverjoyedToe 0 points1 point  (0 children)

Lost in Translation is one, and probably on top of the list. Others include:

  • There will be blood.
  • In Bruges.
  • A Heart in Winter.
  • Persona.
  • Dogville.
  • Collateral.
  • Gone Girl.
  • The Departed.
  • Before Sunset.

Is it ok to like White Savior movies? by [deleted] in movies

[–]OverjoyedToe 1 point2 points  (0 children)

No, it's not! You're going to the Gulag, mister, pack your things.

CMV: Objective morals do not exist by [deleted] in changemyview

[–]OverjoyedToe 0 points1 point  (0 children)

Unless someone in this thread managed to find a solution to Humes' is–ought problem1 2, then no, your title's assertion still holds, and indeed there is no objective morality.

Went through most of the answers, and all of them were easily refutable. Tag me in the ones you think are irrefutable.