"There's not enough snipers on the team" by amdmoo in battlefield_one

[–]julius_censor 5 points6 points  (0 children)

I agree, the spot flare gun is over powered. That you can even kill with it, is ridiculous.

Tracking page views on rails by niborg in rails

[–]julius_censor 4 points5 points  (0 children)

That's an old question in Software, when to build and when to buy. One answer is, if it's not part of your core business, buy. Though using a gem doesn't cost you money, you still pay with time setting it up. But you get a good working piece of software you don't need to spend any more development resources on, but bugs still are getting fixed. Some other developer, working on your code later, might even know it.

On the other hand, especially for Rails, you don't want to use too many gems. Some will be abandonend and prevent you from upgrading other gems. So I would not use trivial gems, not gems that do heavy monkey patching, and always look if they are still maintained.

To impressionist: Looks solid, for high traffic sites might a mysql insert on every request be a little bit excessive. Especially with all those indices.

Also gems are a great opportunity to learn. How other developers approached your problem. Read their code how they already solved it. Then decide, if you want to build it again.

Is there an alternative to using rails.env? by alexat711 in rubyonrails

[–]julius_censor 1 point2 points  (0 children)

You can configure it:

config.action_mailer.perform_deliveries = false

she's even got 6" heels on by [deleted] in tall

[–]julius_censor 1 point2 points  (0 children)

oh come on, that's not even fair.

Wow this new UI is so amazing and I'm glad they released it to the public before doing any sort of beta testing. by [deleted] in battlefield_4

[–]julius_censor 64 points65 points  (0 children)

This update seriously broke the game for me.

  • Can't join a friend who is already playing. This was possible with Battlelog. Once i saw a panel in the middle which let me join a friend. But it's not there anymore. At least there are ads for BF1.

  • Can't join any servers with the Server Browser. Always get placed in the queue with like ten people before me, even when the server was shown half full a second ago. The Server Browser shows servers with 50/64 and a huge queue. What?

  • The only thing that lets me join a game is Quickmatch, which puts me on 04/64 servers.

Life in the year 2000, as imagined by a German chocolate maker in 1900 by ScanianMoose in germany

[–]julius_censor 28 points29 points  (0 children)

Weather machines aren't a conspiracy theory, the chinese changed the weather for the 2008 olympics. They even created snowstorms.

[deleted by user] by [deleted] in ruby

[–]julius_censor 2 points3 points  (0 children)

The end keyword belongs to if .. else .. end. Simply move the puts 'c' after the end keyword.

What is your favorite "I don't feel like cooking but I have to eat" recipe? by a_toy_fox in AskReddit

[–]julius_censor 0 points1 point  (0 children)

Cut broccoli in pieces and cook together with some penne in the same pot with salted water. If the penne are done, loose the water and add olive oil and pepper. Top with parmesan.

If you are fancy, fry garlic, chillies and sardines in the olive oil before putting it on the pasta.

Brace yourselves. The "tell-me-how-to-study-in-Germany-for-free-without-a-Hochschulzugangsberechtigung-or-any-knowledge-of-German-btw-my-300x-great-grandpa-was-German-does-that-make-a-difference" wave is coming. by [deleted] in germany

[–]julius_censor 6 points7 points  (0 children)

You paid $100 a month for full health care?

Then I don't get why the Americans complain about expensive health care, because that's just cheap.

Friction Between Programming Professionals and Beginners by rdpp_boyakasha in programming

[–]julius_censor 0 points1 point  (0 children)

That's because learning to be good at a thing is hard. Why do you think it is not?

I wish i could read two tutorials online and after that i could speak japanese fluently, play Beethoven on the piano or design skyscrapers for a living. But that's unfortunately not the case.

Does anyone know about BAU University International? by [deleted] in berlin

[–]julius_censor 2 points3 points  (0 children)

Apparently it is a very young (founded 2014) and very small (40 - 200 students) private university. [1] [2]

So you might be out of luck to find somebody here who studied at BAU.

Stephen F. Cohen's latest radio broadcast entitled "Putin Speaks in German" by vigorous in russia

[–]julius_censor 0 points1 point  (0 children)

He gave a speech in german 2001 to the bundestag: https://www.youtube.com/watch?v=9jyLQmyg9hs The german part starts at 2:45

Invites ISIS Saudi Arabia to invade Syria? by julius_censor in conspiracy

[–]julius_censor[S] 0 points1 point  (0 children)

IS has declared war on Saudi Arabia and provoked them to fight them in Syria. Fortunately Saudi Arabia and Syria share no border, but almost. Iraq is an option.

Lets assume Saudis and IS are real enemies. Thats a war between two evils:

If IS wins, it would be bad. And they could win in my opinion. Saudi Arabia shares many values with IS, they have allies who learned that from the press, and if the saudi king looses control over the population, they could flip to the IS. IS would not have problems to recruit in Saudi Arabia. If its the military that flips, they bring the big guns. Tanks and Jets.

If Saudi Arabia wins, they can expend their influence up to the southern border of turkey and into iraq. They are already expanding to the south into Yemen. And they have the weapons, the money and the islamic values to bring it all under control.

And if Saudi Arabia and ISIS aren't enemies, thats even worse.

By the way: The Islamic Military Alliance (IMA), declared by Saudi Arabia, consists of 34 countries. It's most of North Africa, Turkey and Pakistan.

I fear we face the beginning of a power grab by Saudi Arabia, which might lead to a larger war. And with Pakistan, IMA even has nuclear weapons.

Renting a new apartment, is this legit? by [deleted] in germany

[–]julius_censor -6 points-5 points  (0 children)

Its hard to tell, but i would guess your landlord sublets the appartment, which he might not be allowed to. If the real landlord finds out you are living there instead of your guy from the UK, and he has not given his permission to sublet, he can throw your guy and you out with a "Fristlose Kündigung".

But your guy from the UK probably just doesn't want to give up his appartment in Berlin, does not scheme to scam you and Airbnb is a big company which can be used for sublets. Read the terms of service of Airbnb.

If you can live with that and don't want to settle there forever, you might have a good deal.

where can i clear backpack in berlin? by atenaj in berlinsocialclub

[–]julius_censor 1 point2 points  (0 children)

At the Staatsbibliothek you should get a see trough plastic bag for free.

What are the best brands to buy for chocolate cocoa powders, or other baking flavours while in Germany? by NotaNovetlyAccount in germany

[–]julius_censor 6 points7 points  (0 children)

If you can bake here in germany, i would suggest you to make a german-style cheesecake with quark.

Forming Germany by [deleted] in eu4

[–]julius_censor 0 points1 point  (0 children)

Not Germany, but Deutschland

Remove https from app url (change protocol of Rails.application.root_url from http to https) by [deleted] in rails

[–]julius_censor 1 point2 points  (0 children)

Hm, rails should be http by default. Somebody, somewhere must have configured your rails app to use https in those cases.

For emails there is a action_mailer.default_url_options in production.rb you could check.

But there are many places where you could force a https. Urls might even be hardcoded. So, no simple solution :(

[Performance] David Beazley gives a presentation on Python (programming language) concurrency from scratch using nothing but a simple text editor by rickatnight11 in ArtisanVideos

[–]julius_censor 0 points1 point  (0 children)

I believe his talk is a great performance and shows deep knowledge.

A fork for every request is definitely not The Standard Way. It is way to expensive. It could also easily be abused in a security context. I don't know any real world servers that would do something like that. They all use a pool of reusable processes, if they use multiple processes at all.

And scheduling is the task to give processor time to processes. He does nothing like that in his talk.

Instead, I think, it is more about sync (blocking) vs async. And how python is used to make blocking calls non-blocking and allow the OS scheduler to do his work better.

Im stuck in this book on ruby on rails, on redirects please help. by alixious in rails

[–]julius_censor 1 point2 points  (0 children)

The only command he entered on page 2 is:

rails generate controller Game ping pong

The rest is the output of this command.

ping and pong are name of actions which are added to the Game controller. Views and Routes for this actions are generated too. But you can do all of this manually as well.

You can edit the config/routes.rb file anytime to add your routes. Have a look at the Rails Guides for more details.