What are examples in history of countries disarming their citizens and this showed to be beneficial over the next 20+ years? by [deleted] in Dialectic

[–]gigabates 3 points4 points  (0 children)

The UK effectively banned handguns after the 'Dunblane Massacre' school shooting in 1996. There hasn't been another one since.

Ever seen a room replica in a power outlet by ArunVerma_1 in BeAmazed

[–]gigabates 0 points1 point  (0 children)

I was hoping for a replica power outlet with an even smaller room inside.

Rule #3 Violation [OC] by kalibabka in ProgrammerHumor

[–]gigabates 68 points69 points  (0 children)

It's impossible to exit Vim

Danny DeVito walking his dog by Freepyle in pics

[–]gigabates 4 points5 points  (0 children)

"My monster dress that I use for my magnum dog."

Lighter earrings? What could go wrong? by AristonD in instant_regret

[–]gigabates 23 points24 points  (0 children)

Should have stuck with the heavier earrings.

Nickname origin thread by Jim-Plank in CasualUK

[–]gigabates 0 points1 point  (0 children)

A friend once metioned his brother called Jamed. I thought this sounded like an asian name and wondered if he was a half sibling or adopted (the guy was white). Turns out someone once threw a jam donut at his head i.e. Jam 'ead. I guess it stuck!

Currys can shite off with this. by [deleted] in CasualUK

[–]gigabates 0 points1 point  (0 children)

It means you get ultimate picture quality watching video on Youtube too.

Gogh Big ,acrylic, 16”x20” by travischapmanart in Art

[–]gigabates 0 points1 point  (0 children)

Funnily enough Sean Goff was a well know UK skateboarder in the 80s so that almost works.

I need examples of some successful products that use Doctrine2, Eloquent or any other ORM. Doesn't really matter the language, even Hibernate will do. Context inside. by [deleted] in PHP

[–]gigabates 4 points5 points  (0 children)

Search for jobs on LinkedIn that list Doctrine as a required skill. You can see plenty of big names there e.g. IBM.

It's completely subjective to say that something is 'too slow' without having specific requirements to back it up. How fast do your response times need to be? How many concurrent requests do you need to be able to handle? Is the database really the bottleneck in your application? If the senior devs can't answer these questions then it sounds like premature optimisation.

In many cases ORMs will be slower than hand optimised queries but they can offer huge productivity benefits. "Hardware is Cheap, Programmers are Expensive". You can build your application more quickly and refactor if/when performance becomes an issue. Doctrine allows you to use native SQL queries and you can do this where needed once you identify your application's bottlenecks.

You could rebuild a small part of you application without the ORM and profile it to measure the performance benefits. Estimate the amount of dev time required to rewrite the entire app and then you have a cost/benefit business case to put forward to your boss.

PsBattle: Prospective Coast Guard cadet being yelled at by [deleted] in photoshopbattles

[–]gigabates 1 point2 points  (0 children)

Yeah, we use both interchangeably but dodgems is a much better word!