Psysoul

BALANCE YOUR LIFE

2018-06-04
by Psysoul
0 comments

Pszichofitness – book review

This book is written by Emőke Bagdy, who is a Hungarian psychologist. I’ve actually listened to the audio book rather than read it. I usually don’t listen to audio books however this adds an extra layer of efficient communication and it was quite fun to listen to her while driving.

Goal of the book:
Have a clear understanding of stress, know how your mind and body functions and how to reduce / deal with stress.

So what is stress? Basically anything that you consider as stress. However as per definition stress is a reaction of your mind to some action where you can?t or don?t want to react in your preferred way. Simple example is that you don?t hit someone even when they said something rude.
Distress is the bad kind of stress, eustress is the good kind of stress. The good kind occurs when your work goals are aligned with your capacity and you set yourself to solve a problem. For a while you?ll feel stress, however soon you?ll think the situation though and you?ll see the steps to solve the problem. If you don?t see the steps, then you?ll know this thing will cause distress.

How to release stress:
Laugh
Jog
Relax
Touch
Help

Laugh
Laughing is the best medicine – Hungarian saying
If you’re meeting with your friends and laugh a lot you’ll already feel better. Actually we all know this. So don’t forget to meet your friends often and also surround yourself with people who you resonate with and with whom you can always have a good laugh. Experiments also show that people with medical conditions who watch 30 minutes – 1 hour comedy each day will feel a lot better afterwards and they conditions will be better. Did I mention that our body and mind is so connected that when you force yourself to smile you?ll immediately will feel better? It?s all wired in our body. This is also the reason why you should watch your position and should practice power poses before a stressful situation like a job interview.

Jog / Training
Healthy soul in healthy body – Hungarian saying
Your body and mind is highly connected. If your body is healthy and you train at least 3-4 times a week, you have a high change that your mind will be healthy too. I feel this myself. Once I stop training for 1-2 weeks, I?ll have a lot less energy and will be frustrated a lot easier.

Tip: Don’t over train. If you did a hard training, do something light the next day, or skip physical training completely. You could still do technical training in some sport ie. mountain biking or just train your mind.

Relax
Relax with your friends and family, go out in the nature, even just for a short walk. People who walk 30 minutes a day are a lot happier (and healthier). This can be taken as jogging too, if you’re unable or don?t want to do more training. However just go out, have a nice swim at the nearest (outdoor) pool, do that long awaited meeting with your friends. It’s a good idea to leave home and have a different environment, do this often.

Tip: join meetups if you’re unsure where to go, or if you would experiment and meet new people or would explore new hobbies.

Touch
Touching helps you release some stress, so buy a nice aromatic massage gel and enjoy time with your partner. Don’t forget to hug or kiss her or him at any time of the day. It will not just make your partner happy, however it will make you more healthy. This should be an integral part of our lives. Experiments show that a child who is hugged and touched by the parents and family members often will have a lot better and more balanced (emotional) adult life.

Help
Finding meaning is life can be challenging, however people who are helping and giving to others are happier and have less stress in their life. So next time you see someone carrying a heavy bag, help them. If you see someone in need, give them some food or anything, no matter how small, you will make a difference in their life and in yours too. Did you consider that if you support someone from a poor country with 10 USD, this worth 5-10 times more in that poor country? So you made a difference of 50-100 dollars with just 10. A small donation for you can be a huge help for them.

2018-06-04
by Psysoul
0 comments

How to be efficient – my tools

Introduction
Being efficient is crucial for your everyday life regardless if it’s about how you spent life with your family members or if you’re working on projects. Below I’m listing my favorite tools which help with efficient work. I truly believe in these products and I’m using all of them for at least two years. For a more detailed description on how I use these tools please check the getting things done method, however I suggest to read this article first, so you have a better understanding what tool is what for.

Notes (Evernote)
By far my favorite tool is Evernote. I have it on my mac / phone / table. You could log in in any browser. This application has the possibility to create and share notebooks and notes with #tags. You can even group notebooks. All notes on your devices will be synchronized, conflicting edits will be shown, although best to avoid any conflicts. It has a great user interface with many feature, and it could be used as part of business and share notes within a team take meeting notes. And of course it supports including photos, links, attachments, lists, basic formatting in your notes. Best moment: when I took a photo of a business card, it read the data on it and pasted in the note as text. It doesn?t always work, however a nice feature.

Tip:
Create notebook stacks to organize your content even better. Ie. Stack: Travel, notebooks: Switzerland, Hungary, Cuba etc. Stack: Writings, notebooks: articles, poems, references
http://evernote.com

Todo list (Wunderlist)
If you need a simple todo list application use Wunderlist. It synchronizes between your devices if you install the apps. It has a browser interface. You can create multiple lists with reminders, share lists etc.
http://wunderlist.com

Planner (Trello)
If you need a bit more than a todo list, use Trello. For yourself, for managing a small or bigger team. Phone app, browser interface, you have it.
Trello is working by creating boards. In each board you can create lists. For example a simple project management board would have: todo, in progress, testing, done lists. Of course you could name these exactly as you want. You can create multiple boards with different lists. I have quite different lists for my daily life board or for my novel writing board.
Each list item in your lists can have a description, deadline, colored labels, attachment sand other users (or yourself) can comment on the items. You can use plugins called powerups with your trello tables to provide extra functionaly.

Tip:
Trello is a great way to use it for the getting things done (GTD) method.

http://trello.com

Save pages: (Pocket aka ReadItLater)
Do you ever find an article on the web which is interesting and have no time to read? Just save it to your pocket, and you’ll be able to read the article later, even when you’re offline. Perfect for long flights. This application on your phone or computer let’s you save articles for later reading. It will also simplify the layout (aka reading mode in most browser), so you can focus on the content more. If you set it up, it will automatically sync saved articles and save them to your device, so you can read it any time. Read articles could be deleted or archived. Search & tags are supported.

Tip:
Always double think if you really need an article later. More often then not the article will be outdated if you read it a few months later, in this case I recommend not to save the article however add an action item to your favorite planning tool. Otherwise you’ll end up with 1000+ unread, outdated articles and videos from the past. My pocket has 150 articles and I still think it’s way more than it should have.

http://getpocket.com

Novel or paper writing (Scrivener)
For writers, by writes. If you want to take your novel writing or school papers seriously. Scrivener has some many features it is even hard to list, specially because I’m using probably a fragment of it. Your project structure looks like: folders and texts, however you can create as many folders and sub folders as you want and choose the most efficient way to organize your current project. By default there is a research folder where you can store any research information, photos, websites etc.

Let’s say I would like to write an article about mountain bikes. So I can create research items with different topics: bike frames, types of mountain bikes etc. I can add images, links to each of the texts, and completely keep my article and research material separated. There’s autobackup feature (your projects could be synced with dropbox), versioning, status (NA, first draft, second draft etc.), synopsis. Rendering to PDF or ebook formats. Word count, full screen (focus) mode. Thousands of settings for default or specific styling per each project. Cork board view.

Tip:
Write daily. Set a reminder in your calendar or use a dedicated app to create your habits.

https://www.literatureandlatte.com/scrivener/overview

2018-02-21
by Psysoul
0 comments

Front-end resources

Since a friend asked me to collect a few front-end related resources, I want to share these with you:
HTML / CSS / Javascript API:
Always check MDN first (Mozilla developer network)
https://developer.mozilla.org/en-US
Example: (good description, examples, compatibility, polyfill etc.)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find

Browser support check:
http://caniuse.com/
Books:
Here are some book recommendations. Some of them are pretty old, however basic rules of javascript don’t change, so they’re still actual,
however if you’re interested deeply in javascript please take some time and also check out new books and resources for ES 5 / ES 6.
Addy Osmani: Learning JavaScript Design Patterns
https://addyosmani.com/resources/essentialjsdesignpatterns/book
http://www.amazon.com/Learning-JavaScript-Design-Patterns-Osmani/dp/1449331815/ref=sr_1_1?s=books&ie=UTF8&qid=1456746423&sr=1-1&keywords=Addy+Osmani

Douglas Crockford
JavaScript: The Good Parts
http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742

+ recommended: his website, videos, jslint

Nicolas Zakas
High Performance JavaScript (Build Faster Web Application Interfaces)
Maintainable JavaScript

+ recommended: his website, presentation / videos

http://www.amazon.com/Performance-JavaScript-Faster-Application-Interfaces/dp/059680279X/ref=sr_1_sc_3?s=books&ie=UTF8&qid=1456746452&sr=1-3-spell&keywords=Nicolas+Zakas
http://www.amazon.com/Maintainable-JavaScript-Nicholas-C-Zakas/dp/1449327680/ref=sr_1_sc_4?s=books&ie=UTF8&qid=1456746452&sr=1-4-spell&keywords=Nicolas+Zakas

Robert C. Martin
Clean Code: A Handbook of Agile Software Craftsmanship
The Clean Coder: A Code of Conduct for Professional Programmers (Robert C. Martin Series)

+ recommended: videos

http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882/ref=sr_1_4?s=books&ie=UTF8&qid=1456746526&sr=1-4&keywords=Robert+C.+Martin
http://www.amazon.com/Clean-Coder-Conduct-Professional-Programmers/dp/0137081073/ref=sr_1_1?s=books&ie=UTF8&qid=1456746526&sr=1-1&keywords=Robert+C.+Martin

UX design
Luke Wroblewski
Web Form Design
Mobile first by Wroblewski, Luke (2012) Paperback
http://www.amazon.com/Web-Form-Design-Luke-Wroblewski-ebook/dp/B004VFUP2I/ref=sr_1_3?s=books&ie=UTF8&qid=1456746615&sr=1-3
http://www.amazon.com/Mobile-first-Wroblewski-Luke-Paperback/dp/B00NYI3RR8/ref=sr_1_9?s=books&ie=UTF8&qid=1456746615&sr=1-9

Ethan Marcotte
Responsive Web Design
http://www.amazon.com/Responsive-Design-Brief-People-Websites/dp/098444257X/ref=sr_1_5?s=books&ie=UTF8&qid=1456746615&sr=1-5
Just a few more names worth to check out (mostly related to agile)
Kent Beck
Martin Fowler
Michael Feathers
Ward Cunningham
Browser support for ES 5 is already there
http://caniuse.com/#feat=es5
Features:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_5_support_in_Mozilla
ES 6 (spec was finalized june 2015)
Many new and interesting features are coming in ES 6:
Extended Array functions, String functions
Map
Better support for Numbers
Promise
Reflect
Arrow functions
Generator function
const, let
Support is getting there, latest desktop browsers (chrome, FF) are already supporting around 85-90% of ES6:
http://kangax.github.io/compat-table/es6/
Detailed features:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla

2014-10-07
by Psysoul
0 comments

iOS 6 / 7 Safari (iPhone, iPad) is not loading images when using Server Sent Events (Long-Polling)

Update: It looks like iOS 8 (or latest Safari) fixes this issue.

If you’re developing something which uses keep-alive connection you might have met with the problem: iOS Safari not loading the images properly (also loading indicator is always shown).

Expected behavior:
Page is being loaded, long-polling connection is started, every image is loaded fine.

Actual behavior:
Page is being loaded, long-polling connection is started, some images are not loaded.

So what is happening in the background?
Browsers limit the maximum connection to any given domain, in case of iOS 6 Safari this limit is 5. There is no problem with the limit itself, as if items (typically scripts and images) are finished downloading, the browser will load the next items. However in case of iOS Safari, the items waiting to be downloaded are not being put in a single queue, but it looks like rather Safari uses the round robin algorithm to determine which resources on which download line (1 to 5) will be downloaded. So if we have 7 resources the 1st and 6th resource will be downloaded on line 1, 2nd and 7th will be downloaded on line 2. The problem is when the first download line is allocated to a keep-alive connection such as a keep-alive connection to the server (Server Sent Events, Long-polling or similar), as the sixth image (or resource) will not be downloaded until the connection is closed, and usually it is not closed for a long time.

Result:
This can cause simple problems: images not loading, or fatal problems: deadlock, if the blocked line would load a javascript.
Same thing could happen with multiple tabs as well.

Reproduce the bug (or feature)
The issue can be easily reproduced by the following link on mobile iOS Safari (Safari on mac has no issue)
iOS Test

Solutions:
There are a couple of solutions to choose from, but not all of them is suitable for every case.

1. Move resources to a subdomain
This might the best solution for the given problem as this solves the problem by avoiding the browser limitation on domains, and it will improve the overall performance as well. Typical implementation is to serve all images / scripts from a subdomain like static.mydomain.com.

2. Defer the script which initializes the keep-alive connection
This might or might not be easy to implement, but if the keep-alive connection is started only after all images have been loaded there should be no problem at all. As per jQuery documentation however (window).load() has multiple caveats, so it is not recommended by itself, however I’ve seen some scripts which might address this problem. Please refer to jQuery docs on load event.
Defer keyword in the script might as well do the trick, however it might not be the proper solution as scripts are usually minified in production environment etc.

3. iOS 8
It looks like iOS 8 Safari has changed the way it is loading resources, so the problem is fixed on iOS 8 devices. At least on an iPad with 8.0.2.

More information:
Apple discussion
Another description.

2013-11-23
by Psysoul
0 comments

Responsive web design

I’ve created a presentation about responsive web design (mostly about processes and key points which need to be taken into account).

Best viewed using keynote. Please check presenter notes for more information about the slides.

Download responsive webdesign presentation (keynote, pdf, powerpoint)

Recommended sources, tools, books:
http://www.lukew.com

Tools:

http://www.hongkiat.com/blog/rwd-tools
http://bradfrost.github.io/this-is-responsive/resources.html

Recommended books:
Luke Wroblewski – Mobile First
Ethan Marcotte – Responsive Web Design

Both from 2010, but they give a nice overview.
Aaron Gustafson – Adaptive Web Design: Crafting Rich Experiences with Progressive Enhancement (2011)

Tim Kadlec – Implementing Responsive design (2013)
This goes into technical details..

2013-08-10
by Psysoul
0 comments

Netbook vs Notebook vs Tablet, which one is the best for you?

netbook
Choosing the right device can be a really tough decison if you want to achieve different type of goals. It’s possbile that the best solution is to have multiple, similar devices.
I wanted to buy a portable device. After reading opinions, hardware reviews and blogs for weeks I came to a final decision: I’ll buy an 9.7″ android based tablet with an external keyboard, or a cover with a built in keyboard. But this is not the whole story, jump to the end, to hear the end of it.

Key factors:

– Portability
– Hardware power
– External connectivity
– Price
– Battery time
– Operating system

Continue Reading →

2013-06-29
by Psysoul
0 comments

Photoshop CC – Creative Cloud

Photoshop creative cloud

Adobe Creative Cloud takes applications to the cloud. This means you can access and download your Adobe software anywhere, and install use on two separate machines, regardless of OS as long as the individual using the software is the same. The most important new aspect of CC is that the software will not be sold for a standalone fee, but a monthly fee. For complete plan you’ll have to pay $49.99 / month, for Single-app the fee is $29.99.

Full plan currently contains:

Photoshop? CC
Illustrator? CC
InDesign? CC
Dreamweaver? CC
After Effects? CC
Adobe? Premiere? Pro CC
Adobe Muse? CC
Acrobat? XI Pro
Adobe Audition? CC
Bridge CC
Encore?
Fireworks?
Flash? Builder? Premium
Flash Professional CC
InCopy? CC
Lightroom?
Media Encoder CC
Prelude? CC
SpeedGrade? CC

 Photoshop news:

Photoshop CC contains all features of Photoshop CS6 extended version (3d features and such), it contains lightroom, and also some new features, such as:

– New sharpen algorithm

– New upscale algorithm

– Camera RAW 8 and layer support

– Editable rounded rectangles

– Camera Shake reduction

– Improved 3d painting.

A great thing is that if you don’t like the new feature, it’s possible to use the legacy mode of the same tool.

Adobe CC is also more social, plans include 20 GB of cloud storage for file sharing and collaboration.

Behance is integrated into CC apps, so after one-time account linking you’ll be able to easily share your newly created drawings and designs on Behance. CC plans also include a free  Behance ProSite subscription, which is a personal portfolio site builder. (An example portfolio: http://assembledinc.com)

Pros:

– Get all software for complete plan (as compared to CS6 pricing) for pretty low price

– Get instant updates

– Social, Behance

– Can be used offline (online license validation needed every 30 days or 99 days based on type of subscription)

Cons:

– Somewhat buggy software at first (this should not be a problem as new versions come out).

– Needs license validation from time to time

Conclusion:

While Adobe Creative Suit 6 will be with us for some time, soon companies will have to change to creative cloud, which preferably means that professionals will not just have one tool, but the whole creative cloud package at hand. This means you’ll have the best tools at hand, and you can choose which tools fits the best for the actual creative work..

2013-06-24
by Psysoul
0 comments

Inspirational Music #1

inspirational_music1

I really like to listen to background music during work, specially if I do routine tasks or when I paint, write, do my usual creative things. I have to admit, I’m a bit audiophile, so I have a pair of Dynaudio Audience 52 speakers with great-looking maple finish. At my workplace I like to use my AKG 272 HD headphones. Given my system, of course I don’t like to listen to heavily compressed mp3s, I prefer listening to CDs, or lossless formats, where FLAC is the winner. I grab my CDs to FLAC with Exact Audio Copy which is a great, free tool. Also I should not forget to mention that these musics deserve the attention too, so if you have the chance listen to them really closely and you’ll recognize the deeper textures, meanings too.

My choice of music really depends on my mood, I really like to listen to almost every kind of music. Now let’s move onto the recommendations:

1. David Gilmour – On an Island

I’ve always liked Pink Floyd, I think I’ve listened to the wall album a couple of times, before actually watching the wall movie. I got my hands on this record, and it became one of my favorites from the beginning. This one is the third solo album from David Gilmour, who was the lead guitarist and vocalist for Pink Floyd.

Continue Reading →

2013-06-23
by Psysoul
0 comments

Organize your data

organize_data

Year by year we produce more data, take more photos, download more music, videos, soon we will have petabyte magnitude of storage at home and in the cloud. This means you have to organize these data, or you will just fall behind. Let me share some tips and tricks to keep your computer and personal data clean and easy to access.

Article topics: Computer files, cloud storage, calendars, todo list, organize webpages and articles.

Continue Reading →

2013-06-21
by Psysoul
0 comments

RE|Start

re_startRestart, rethink. Everything. Again.

It’s that part of my life. Sometimes you have to close the past. Close the world, open the nExt (seems familiar? Serial Experiments Lain). So I’ll open up the new one. I have a lot to do, I have a lot to learn. “Improve day by day” will be my new motto. Freelancing, when you have a full-time job is not a good idea, trust me. Been there, done that, never again. So recently I closed all my personal freelancing works (one minor thing is left, but page is 90% ready). When you have a freelance job, which you should do at home, it will frustrate you, even when you want to relax, after a hard day’s work. It’s just not worth the money.

Continue Reading →