antulik.com
  • Bookshelf
  • Programming
  • Presentations
  • Loved Movies
  • All
  • About Me

LIFELINE OF COINCIDENCE


blog by Anton Katunin

Circular dependency in Rails

Posted on 9 November 2014 (code, rails)

This is an interesing bug I've encountered this week. While our Rails application was working in development it was completely broken in UAT environment (which is 99% production like)

We were getting Circular dependency detected while autoloading constant error on all of our reports.

  • Read More →




Multiple logins at once with Browser Profiles

Posted on 21 September 2014 (code)

Do you:

  • share same computer and login with other family members
  • or you are testing website with login

Then you should know what browser profiles are.

  • Read More →




We all make choices. But in the end, our choices make us

Posted on 20 September 2014

How The Most Successful People Manage Their Time

  1. Do a time log. See how long things take and when your best windows are.
  2. Plan the whole week. Focus on your core competency and what makes you happy.
  3. Have a morning ritual that gets you closer to your long term goals.
  4. Set 3-5 anchor events for the weekend.
  5. Plan something fun for Sunday night.




Differentiate your gem

Posted on 14 September 2014 (code, ideas)

Are you tired of seeing yet another project on github while there are ten others which do exactly the same thing? In this post I suggest we start to diffirentiate our projects.

  • Read More →




Выйди из зоны комфорта. Измени свою жизнь

Posted on 13 July 2014 (books, russian)

Брайан Трейси




Русская модель управления

Posted on 10 July 2014 (books, russian)




Лучше быть голодным, чем есть все попало

Posted on 19 May 2014 (russian)




Better be hungry than eat whatever food

Posted on 19 May 2014

And better be alone than with whoever.




The most valuable skill of a successful entrepreneur

Posted on 1 March 2014

isn’t vision or passion or a steadfast insistence on destroying every barrier between yourself and some prize.

Rather, it’s the ability to adopt an unconventional approach to learning: an improvisational flexibility not merely about which route to take towards some predetermined objective, but also a willingness to change the destination itself. This is a flexibility that might be squelched by rigid focus on any one goal.
-- farnam street




The Red Queen Effect

Posted on 27 February 2014

In the novel, Alice finds herself running faster and faster but staying in the same place.

-- farnam street blog




The greatest lesson in life is to know that even fools are right sometimes.

Posted on 27 February 2014

The greatest lesson in life is to know that even fools are right sometimes.

-- Churchill
-- via  the week




Newport's law

Posted on 27 February 2014

Telling a young to follow their passion reduces the probability they will end up passionate.

--  farnamstreet blog




Following your Passion is Horrible Advice

Posted on 27 February 2014

How do people end up loving what they do for a living?

  1. Don't follow your passion
  2. Be so good they can't ignore you
  3. Go deep

-- farnam street blog




Деминг, Уильям Эдвардс

Posted on 14 February 2014 (russian)

"Деминг учил, что путём принятия соответствующих принципов управления организации могут повысить качество и одновременно снизить расходы (за счёт сокращения количества отходов, переделывания, изнурения персонала и судебных разбирательств, при одновременном повышении лояльности клиентов). Ключ в том, чтобы практиковать непрерывное совершенствование и представлять производство как систему, а не как кусочки и части."

-- Деминг, Уильям Эдвардс
-- wikipedia




Comparison in Ruby

at BrisRuby meetup

Posted on 5 January 2014 (code, presentation, ruby)

  • Read More →




Speed up POW DNS Lookup

Posted on 1 September 2013 (code, pow, hosts, powder, slow, dns lookup)

I'm using POW as a proxy to my local dev server in development. That gives me nice local *.dev domain names. However I've noticed that it takes 10 seconds to load a singe page in Chrome. Of course, I thought, It does like 80 requests as each asset is served as a separate file in development. But after investigating it a bit more DNS lookup for each request was 3 seconds and for some reasons it was like that for every single http request.

  • Read More →




Report rake (>=0.9) exceptions to NewRelic

Posted on 8 August 2013 (code, rails, exception, rake, newrelic)

NewRelic service is great for application monitoring and errors tracking. However it doesn't track rake exceptions by default. You can use AirBrake gem and service, but sometimes it's too much for you. Fortunately with a bit of ruby it's easy to do it yourself.

  • Read More →




Zeus with RubyMine 6.0 Momiji

Posted on 5 August 2013 (code, rubymine, zeus, rubymine momiji, rubymine 6)

The first version of RubyMine with Zeus support was released last week. This is a small tip how to get it working.

  • Read More →




My last three projects - wins and failures

at Brisbane Web Design meetup

Posted on 19 July 2013 (code, presentation)

  • Presentation slides




Order of columns in table index matters (postgres)

Posted on 30 June 2013 (code, rails, activerecord, postgres, db index, order by, slow query, sorted index)

Today was trying to figure out why my query was running very and very slow.

  • Read More →




gem install mysql2 - fails with MySQL 5.6.12

Posted on 24 June 2013 (code, mysql, gem, mysql2, mysql-5-6-12)

If you installed the latest mysql with homebrew, my version of mysql was 5.6.12. I couldn't install mysql2 gem

gem install mysql2
  • Read More →




Principle of least astonishment

Posted on 28 April 2013

The principle of least astonishment (POLA/PLA) applies to user interface design, software design, and ergonomics. It is alternatively referred to as the rule or law of least astonishment, or the rule or principle of least surprise (POLS).

-- Wiki




I don't know who discovered water, but it wasn't a fish.

Posted on 28 March 2013

I don't know who discovered water, but it wasn't a fish.

http://www.ecotopia.com/webpress/futures.htm




No more “yes”. It's either “HELL YEAH!” or “no”.

Posted on 27 March 2013

No more “yes”. It's either “HELL YEAH!” or “no”.

http://sivers.org/hellyeah




Quickly open files in iTerm with RubyMine on MacOS

Posted on 6 March 2013 (code, terminal, iterm, rubymine, open path, quick open)

You can use RubyMine for editing but still run tests in terminal. With this tip you can click path in terminal and open that file in RubyMine.

  • Read More →




Don't think what's the cheapest way to do it ...

Posted on 24 February 2013

Don't think what's the cheapest way to do it or what's the fastest way to do it.

Think 'what's the most amazing way to do it?'

By Richard Branson. Founder of Virgin Group




CampJS Harlem Shake

Posted on 18 February 2013 (campjs, conference)




D3.js workshop

at CampJS

Posted on 15 February 2013 (code, d3js, presentation, workshop)

Presentations

  • D3.js Workshop
  • Harlem Shake
  • Mind Blow

Examples

  • d3 timer
  • force
  • matrix heat
  • mouse
  • series lines




Limerence and others

Posted on 12 January 2013

Limerence is an involuntary state of mind which results from a romantic attraction to another person combined with an overwhelming, obsessive need to have one's feelings reciprocated.
-- wiki

In biology, Bateman's principle is the theory that females almost always invest more energy into producing offspring than males invest, and therefore in most species females are a limiting resource over which the other sex will compete. It is named for English geneticist Angus John Bateman (1919–1996).
-- wiki

Homogamy is marriage between individuals who are, in some culturally important way, similar to each other. Homogamy may be based on socio-economic status, class, gender, ethnicity, or religion.[1] It is a form of assortative mating.

The Scarcity Principle

The Ben Franklin effect is a psychological finding: A person who has done someone a favor is more likely to do that person another favor than they would be if they had received a favor from that person. Similarly, one who harms another is more willing to harm them again than the victim is to retaliate.
-- wiki

"all the girls get prettier at closing time" phenomenon
-- link

The Science of the Friend Zone
-- youtube




The bigger the lie, the more people will believe it

Posted on 28 December 2012

If you tell a lie big enough and keep repeating it, people will eventually come to believe it. The lie can be maintained only for such time as the State can shield the people from the political, economic and/or military consequences of the lie. It thus becomes vitally important for the State to use all of its powers to repress dissent, for the truth is the mortal enemy of the lie, and thus by extension, the truth is the greatest enemy of the State.

-- Joseph Goebbels




and then I'm glad I've found true friends

Posted on 23 December 2012

and then I'm glad I've found true friends

-- Battle Royall

... и потом я рад что нашел настоящих друзей

-- Королевская битва




Small steps easy wins

Posted on 22 November 2012

Small steps easy wins

-- Chris Raethke




Learned optimism

Posted on 22 November 2012

Learned optimism is the idea in positive psychology that a talent for joy, like any other, can be cultivated. It is contrasted with learned helplessness. Learning optimism is done by consciously challenging any negative self talk.
 -- Wiki




John Rawls

Posted on 22 November 2012 (russian)

Самый справедливый свод правил — тот, с которым согласится каждый человек, не зная заранее, какой властью он будет наделен




Always listen to people but never let them control you

Posted on 22 November 2012




American Beauty

Posted on 14 November 2012 (movie)

Today is the first day of the rest of your life

Remember those posters that said... "Today is the first day of the rest of your life"?

Well, that's true with every day except one the day you die.

-- Lester Burnham.

Last words of Lester Burnham

I had always heard your entire life flashes... in front of your eyes the second before you die. First of all, that one second... isn't a second at all. It stretches on forever, like an ocean of time. For me, it was lying on my back... at Boy Scout camp, watching falling stars. And yellow leaves from the maple trees... that lined our street. Or my grandmother's hands and the way her skin... seemed like paper. And the first time I saw my cousin Tony's... brand-new Firebird. And Janie. And Janie. And... Carolyn.

I guess I could be pretty pissed off about what happened to me, but it's hard to stay mad when there's so much beauty in the world. Sometimes I feel like I'm seeing it all at once and it's too much. My heart fills up like a balloon that's about to burst.

And then I remember to relax... and stop trying to hold on to it. And then it flows through me like rain, and I can't feel anything but gratitude... for every single moment... of my stupid little life.

You have no idea what I'm talking about, I'm sure.

But don't worry.

You will someday.

-- Last words of Lester Burnham.




Мы упрощаем вашу жизнь

Posted on 12 November 2012 (russian)




Больше улыбок - больше продаж

Posted on 10 November 2012 (russian)




We are here on Earth to help others. What the others are here for, I've NO idea

Posted on 7 November 2012

http://en.wikiquote.org/wiki/W._H._Auden
http://youtu.be/8EUy_82IChY




Russia is not a country, Russia is a lifestyle.

Posted on 3 November 2012

http://www.youtube.com/comment?lc=TMzWZDrrTRQ5lrM7JcVsD-q\_Xd-D5Hx37kMMdf5s81c




  • ← Previous page
  • Next page →

Copyright © antulik.com 2025