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

LIFELINE OF COINCIDENCE


blog by Anton Katunin

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




I guess it's a discovery of unknown that drives me every day.

Posted on 2 November 2012




Sometimes I do nothing, because sometimes nothing needs to be done.

Posted on 22 October 2012

-- http://nathanael.hevenet.com/dont-worry-about-your-productivity-worry-about-you/




Anagnorisis & Peripeteia

Posted on 27 September 2012

Anagnorisis (/ˌænəɡˈnɒrɨsɨs/; Ancient Greek: ἀναγνώρισις) is a moment in a play or other work when a character makes a critical discovery. Anagnorisis originally meant recognition in its Greek context, not only of a person but also of what that person stood for. It was the hero's sudden awareness of a real situation, the realisation of things as they stood, and finally, the hero's insight into a relationship with an often antagonistic character in Aristotelian tragedy.
-- Wiki

Peripeteia /ˌpɛrəpɨˈtaɪ.ə/ (Greek: Περιπέτεια) is a reversal of circumstances, or turning point. The term is primarily used with reference to works of literature. The English form of peripeteia is peripety. Peripety is a sudden reversal dependent on intellect and logic. In modern Greek, περιπέτεια means adventure.
-- Wiki




Alfie (2004)

i don't depend on nobody, nobody depends on me, my life's my own ...

Posted on 18 September 2012 (movie)

yeah, i used to think i'm the best end of the deal ... what have i got? really .. some money in my pocket, some nice threads, fancy car at my disposal and .. i'm single, unattached, free as a bird

i don't depend on nobody, nobody depends on me, my life's my own .... but i don't have a peace of mind .... and if you don't have that you've got nothing ... so.. what's the answer? that's what i keep asking myself .... what's it all about? .... you know what i mean?

-- Alfie




Zugzwang

Posted on 15 September 2012

only viable move is not to move
-- Wikipedia




The beauty of Ebru

Posted on 15 September 2012

http://vimeo.com/24709888

http://en.wikipedia.org/wiki/Paper_marbling




A single snowflake can bend the leaf of the bamboo

Posted on 15 September 2012

A single snowflake can bend the leaf of the bamboo

-- Chinese proverb




Nobody is going to make out of here alive

Posted on 20 August 2012




Serendipity

Posted on 14 July 2012

Serendipity means a "happy accident" or "pleasant surprise"; specifically, the accident of finding something good or useful without looking for it.

Can be described as : to look for a needle in a haystack and get out of it with the farmer's daughter.

-- Wikipedia




Nested Resources

at BrisRuby meetup

Posted on 4 July 2012 (code, presentation, ruby)

  • Read More →




The more we attempt to know ourselves, the less we actually understand.

Posted on 23 June 2012

Read more http://www.newyorker.com/online/blogs/frontal-cortex/2012/06/daniel-kahneman-bias-studies.html




If you don't know, please ask. If you don't agree, argue. If you don't like it, please say it. But don't sit there quite and judge me.

Posted on 22 June 2012

https://plus.google.com/u/0/116180064933757180493/posts/GUD62LuDmb9




Be yourself, because an original is always worth more than a copy

Posted on 19 June 2012

Ref




Dragonfly gem

at BrisRuby meetup

Posted on 15 June 2012 (code, presentation, ruby)

  • Read More →




  • ← Previous page
  • Next page →

Copyright © antulik.com 2026