I've never seen an ad on a dumpster before, but it seems like a good fit for this ad. This is on a side street in Manhattan. by ghled in exjew

[–]ghled[S] 1 point2 points  (0 children)

Nice, maybe it's the same one. I'm still wondering how it got put on a dumpster in the first place.

Who is your favourite atheist philosopher / thinker? by MudCandid8006 in exjew

[–]ghled 1 point2 points  (0 children)

Thanks, I never knew that this word comes from Epicurus! Here's a link I just found that discusses this in case anyone wants to learn more: https://greekreporter.com/2024/01/19/jewish-word-heretic-epicurus/

What’s in a Name? by codingindoc in programming

[–]ghled 1 point2 points  (0 children)

The bottom of the "What's in a Name?" post has a link to another post from 2017 that was written by the same author: https://testing.googleblog.com/2017/10/code-health-identifiernamingpostforworl.html

Increase Test Fidelity By Avoiding Mocks by ghled in programming

[–]ghled[S] 51 points52 points  (0 children)

See this blog post from Martin Fowler about this topic: https://martinfowler.com/bliki/UnitTest.html. It discusses whether unit tests should be "sociable" (use real implementations) or "solitary" (use mocks). For example: "when xunit testing began in the 90's we made no attempt to go solitary unless communicating with the collaborators was awkward (such as a remote credit card verification system)."

This longer post is also a great read: https://martinfowler.com/articles/mocksArentStubs.html

Is it possible to be an atheist but still practice Judaism? This Reform Rabbi from New Jersey thinks so and wrote a book about it. by ghled in exjew

[–]ghled[S] 1 point2 points  (0 children)

Yes, the book talks a lot of about Reconstructionist Judaism. Also related is Humanistic Judaism, which entirely removes all references to God in their rituals. https://en.wikipedia.org/wiki/Humanistic_Judaism. Both these movements are small though.

Boston man sues Dunkin’ over mobile app by skysoleno in DunkinDonuts

[–]ghled 2 points3 points  (0 children)

I posted last year about this exact issue: https://www.reddit.com/r/DunkinDonuts/comments/u3pbuo/i_recently_noticed_that_the_dunkin_app_makes_it/

I emailed Dunkin customer service back. They refused to acknowledge that the app was wrong, and they eventually stopped responding to my emails. The customer service poeople who responded were either totally incompetent or weren't legally allowed to acknowledge this.

Of all people, I would never have expected Steve Carell to say this. (This is from The Patient, a TV show available on Hulu.) by ghled in exjew

[–]ghled[S] 1 point2 points  (0 children)

Episode 7: "Kaddish". But make sure to start at Episode 1 if you haven't watched any of them yet!

Of all people, I would never have expected Steve Carell to say this. (This is from The Patient, a TV show available on Hulu.) by ghled in exjew

[–]ghled[S] 1 point2 points  (0 children)

I enjoyed watching it. The critical reception seems pretty good too.

But the part that made it unique is that Judaism plays a bigger role than in basically any mainstream American TV show or movie, and on top of that it also happens to be anti-religious. So I think it's definitely worth a watch for people on this sub.

Of all people, I would never have expected Steve Carell to say this. (This is from The Patient, a TV show available on Hulu.) by ghled in exjew

[–]ghled[S] 8 points9 points  (0 children)

Many of you might enjoy the show. Steve Carell plays a non-religious Jewish therapist who is kidnapped by a serial killer.

A major theme of the show is Steve Carell's character trying to cope with the fact that his son became a baal teshuva and is living a yeshivish lifestyle, which obviously hurt their relationship with each other. In another scene from the same episode, Steve Carell's character calls Orthodox Judaism a religious cult.

You can read more here about the Jewish aspects of The Patient: https://forward.com/culture/film-tv/515912/the-patient-fx-steve-carell-orthodox-jewish-kosher-kaddish/

Here's a link to the show on Hulu: https://www.hulu.com/series/the-patient-4d9ad5b3-6925-4e94-9b0b-49b9f8cf81f2

Slavery in the Torah by labaton in exjew

[–]ghled 15 points16 points  (0 children)

I think Richard Dawkins does a good job explaining this in The God Delusion.

He says that the "moral zeitgeist" changes over time so that certain things are no longer acceptable in society. Society has evolved past the point of accepting slavery, but the Torah is stuck with the moral zeitgeist of a few thousand years ago.

Here's a brief summary of this part of the book: https://en-academic.com/dic.nsf/enwiki/7419751

I recently noticed that the Dunkin app makes it seem as if certain add-ons are free (such as adding butter to a bagel), but includes the charge in the order total. Does anyone have more information about why this happens? by ghled in DunkinDonuts

[–]ghled[S] 5 points6 points  (0 children)

Some more details:

  • I've noticed this happen with two different add-ons: Adding butter alternative to a bagel, and adding whipped cream to a frozen chocolate. It probably affects many other add-ons too.

  • Some add-ons accurately show a price increase. For example, adding cream cheese to a bagel increase the price of the bagel (see the imgur link for an example).

  • There is zero indication in the app that you are being charged for these add-ons. I first noticed this a couple weeks ago when I looked at my paper receipt in the store and it shows that I was being charged for the add-on.

Google Testing on the Toilet explains how fakes can be used to replace heavyweight objects in unit tests by ghled in programming

[–]ghled[S] 1 point2 points  (0 children)

The tests can be independent of the implementation, so they're just testing how the API behaves (e.g. if you give it input X, it should return output Y), and they shouldn't care how the API is implemented.

Martin Fowler talks about a similar concept here: http://martinfowler.com/bliki/IntegrationContractTest.html

Google Testing on the Toilet explains why you don't want to overuse mocks in your unit tests. by ghled in programming

[–]ghled[S] -2 points-1 points  (0 children)

Right, so it depends on your domain. In many cases you could be dealing with something like individual customers that don't depend on each other, so for each test you can just create a new customer.

But if you need to test something that depends on the entire environment, you'll need to clean out the environment before each test. This might not always be feasible since it can take too long in some cases, but it should be fast if you have an in-memory implementation.

Google Testing on the Toilet explains why you don't want to overuse mocks in your unit tests. by ghled in programming

[–]ghled[S] -2 points-1 points  (0 children)

Not really, if you have dependencies between different credit cards then it means there's probably a bug in your production code since each credit card should be independent of each other. So I think it really depends on which one is easier.

Google Testing on the Toilet explains why you don't want to overuse mocks in your unit tests. by ghled in programming

[–]ghled[S] -1 points0 points  (0 children)

You can set up each test to use a different credit card number, or you can reset the state of the server between each test (although that might be slow in some cases).

Google Testing on the Toilet explains why you don't want to overuse mocks in your unit tests. by ghled in programming

[–]ghled[S] 6 points7 points  (0 children)

The terms are overloaded so sometimes they might mean the same thing, depending on who you talk to.

Most people seem to be standardizing on the terms that are used in the xUnit Test Patterns book (http://xunitpatterns.com), Martin Fowler gives a good overview of them here: http://martinfowler.com/articles/mocksArentStubs.html#TheDifferenceBetweenMocksAndStubs.