Automate EVERYTHING

There’s a certain beauty to automatization. The machine works silently, completing time-wasting tasks for you, while you spend your time doing things that matter.

I like to keep my computer tidy – a cluttered desktop just makes me frustrated. Why? Because it takes forever to find something in a digital mess. The desktop tends to become cluttered, however, because cleaning isn’t fun. Moving icons to the right folders is in many ways just like cleaning, and cleaning is a chore. Chores are for the most part never fun.

To battle this, I wrote a script some time back which cleaned my desktop once per boot and put the contents into a folder with today’s date. With the hard drive storage capacity available, storing the vast amounts of files isn’t an issue. I have a lot of trash stored, but it’s easy to navigate and it keeps my desktop tidy.

Today, I took care of another issue. How do you keep track of your files if you have two computers? How do you transfer files? And why should you have to spend time on moving files? I bought a new laptop for school and work, which meant I had to find a way to move files. Windows file sharing works, but it’s time consuming. Dropbox could eliminate the problem, but it’s not suitable for large amounts of data. I do use Dropbox if it’s important only to have one version of the file, or if I need to access it on other devices, however.

I wrote another script as the solution. Every time i log on, it moves all the contents of an upload-folder to my server if I’m connected to my home network. This way, I can drop files into the folder, and forget about them. The script also downloads all files from a remote folder, and stores them locally in another folder. Essentially, I can move files asynchronous via a server.

All of this took some time to set up, but I’ll save more time in the long run.

Be the first one to comment!

Egna projekt

Någonstans under berget av läxor var det lätt att tappa poängen med vad skolan egentligen är till för. Skoltvånget, något på gott och ont, sågs negativt. Det var lätt att få för sig att skolan var ett ställe där man satt av sin tid och behövde komma ihåg en serie av tråkiga fakta.

Men ju roligare kurser man läser, ju mer kommer poängen tillbaka. Skolan är inte något man måste göra, kunskap är inte något man måste ta in. Om man vill lära sig något eller inte är ett aktivt val man gör som individ, och det man lär sig kan då ses som ett intresseområde. Det gäller i vart fall när man går på högskola. För, helt ärligt, man vore galen om man tog studielån för att plåga sig själv med ointressanta ämnen.

Därför är det helt okej att sitta långa timmar och studera. Det är intressant, någon mer anledning behövs inte. Fast, ja, att kunna tjäna pengar på det sen är väl fördelaktigt.

Jag känner till ett par som har egna projekt vid sidan om studierna, inklusive mig själv. Det kan vara föreningar, företag eller små hobbyprojekt – någonting som utvecklar personerna. Att ha egna projekt är givande. Det är så pass givande att det till och med ingår i min utbildning att arbeta med ett projekt mot kund.

Be the first one to comment!

Alla dessa förkylningar

Förkylning på förkylning. Antibiotika i pillerform och sedan antibiotika i form av ögonsalva. Bakterier. Virus. Skit. Mög.

Jag börjar bli riktigt less på att vara sjuk. En sjukdom avlöses av en annan, ty immunförsvaret hinner inte återhämta sig emellan återinsjuknandena. Det går att skämta om hur man tycker synd om sig själv, eller hur less man är… men efter att ha mått skit i närmare en månad så slutar det vara på skoj. Tiden mellan sjukdomarna – då jag faktiskt var frisk – spenderades på att sluta röka. Så sjuk har jag inte varit hela tiden… men dåligt har jag mått.

Blir inte bättre av att mina ansvarsområden kräver mig av samma grad, oberoende om jag är frisk eller inte. Projektet ska vidareutvecklas. Amazon-servrar ska konfigureras. Filsystem ska skrivas. Bokningar ska registreras. Det fungerar ett tag, men efter totalt tre veckors sjukhet så börjar man sega efter. Det går helt enkelt inte att jobba på för fullt när man snörvlar och hostar.

Nä, dags att göra en kopp te.

Be the first one to comment!

Rökstopp: Konsten att sluta röka.

Som den student jag är, så fick jag för mig att sluta röka. Det finns liksom ingen logisk anledning att röka upp sina pengar. Primärt kanske det är hälsan man ska ha i åtanke när man slutar röka… men det är lite svårt i och med att jag inte hhar fått några bekymmer med det på grund av rökningen. Men visst är det ett plus. Pengarna är det som trycker mest… inte för att jag har ont om pengar, utan mer att det finns så mycket roligare saker man kan göra.

5 cigaretter per dag blir 1825st, vilket kostar ((1825/19)*45~) 4300kr. 10 cigaretter per dag blir i så fall 8650kr.

Räknar man om pengarna i andra skitsaker så förstår man hur mycket det rör sig om. Blir en hel del.

Symptomen på abstinens är inget roligt att ha att göra med. Personligen blir jag efterbliven när jag slutar röka. Var i och för sig beredd på det, ty det här blir den andra gången jag slutar röka (var rökfri över ett halvår sist, sen flyttade jag hit…). Första gången jag slutade var jag duktig nog att trappa ner. Det ledde till att första dagen blev värst, och att det i princip bara blev bättre och bättre. Den här gången var jag dum nog att röka ett paket 24h innan (så kan det gå när man rustar upp kårhuset Rotundan!).

Dag nummer 1 var helt okej, förutom att jag var mer irriterad än vad jag brukar. Dag 2 hade jag svårare för att tänka klart. Dag 3 tappade jag tidsbegreppet och kunde inte resonera. Idag är dag 4 och det är knappast bättre. Tror dock att det värsta är bakom mig nu. Antar att det kommer ta cirkus en tio dagar innan jag är återställd och fullt fungerande igen.

1 Comment

Jaha, då har man ett NAS hemma

Var sjuk och tyckte sådär lagom synd om mig själv, som man bara kan när man mår dåligt. Två veckors hostande, snörvlande och livshat. Men! Givetvis får impulshandling en att må bättre!

Kollade på hårddiskar och lagringslösningar då jag behöver en backup. Hade ingen vettig backup innan. Hade inte ens plats för att ta en backup på det viktigaste.

“Riktiga män tar inte backup, riktiga män gråter”, eller?

Min primära systemdisk krashade för ett tag sedan. Som tur var fick jag loss all värdefull data innan det gick helt utför, men tänk om det hade gått värre? Tänk om disken med familjefotona helt plötsligt begår självmord och lämna mig i sticket? Ush! Köpte mig en Buffalo och tar nu regelbunden backup.

Buffalo Link Station Live 3Tb. Det är en helt okej enhet, men inget att hurra för. Gränssnittet är riktigt segt och får en att vilja slå sönder något. Backupmjukvaran som följer med kräver att användaren på hårddisken heter samma som på din dator, och har samma lösenord (annars får du konstiga felmeddelanden). För att få in ström så måste du montera ihop sladden. Man kan tro att det är enkelt att få en Av/På-knapp på en kabel, men tydligen är det billigare att skeppa med en förlängningskabel som har en sådan på sig. Det osar budget.

Skulle antagligen inte köpt den igen, men har inte haft något egentligt problem hitintills. Den är till för backup, och jag får 10Mb/s i överföring.

Be the first one to comment!

Fiaslaget 2012

Jojo, då har Fiaslaget 2012 börjat närma sig med stormsteg :D!

Be the first one to comment!

Tech day

It’s fun getting to know how things work, and configuring them to work as you want them to. Today, I wrote a to do list of all the things I wanted to fix, and proceeded with checking them of one by one.

I recently bought a new laptop. New computers mean installing software, removing software (so much bundled crap…) and tweaking. There’s still a lot to do, such as syncing files and organizing backups.

I use Irssi as my IRC client (runs on a server) and finally configured it to auto run my scripts and join my servers and channels. It’s not hard to do that manually, as the server rarely goes down for maintenance. Still, if you can automate it… you should. There’s a whole bunch of Irssi scripts you can utilize. If you don’t know where to start, check this post out. The author covers a lot of good scripts.

Some SSH stuff. Changing keys, moving configs, learning how to tunnel traffic. I found a great and simple guide on how to create a ssh tunnel.

My router has been running DD-WRT for about two weeks now. Did some poking around in there as well.

Be the first one to comment!

Dream Journal

I’ve previously written a beginners post on Lucid Dreaming, but I want to elaborate a little bit more on keeping a dream journal.

 Why to keep one

There would be two reasons why to keep a dream journal: 1, It helps with dream recall and 2. it’s interesting.

It’s quite common for people to believe that they don’t dream, just because they can’t remember their dreams. If you are one of them, why not change it? Why not remember the incredible adventures that you might have during your sleep? By keeping a dream journal, you’ll also notice any patterns that might be present.

How does it work

A dream journal will help you remember more dreams (and more details per dream) because of several reasons.

By intending to remember more dreams, you will remember more dreams. By keeping focus and working towards your goal, you will make it true. The dream journal will be a tool to channel your motivation and effort. The process of remembering becomes more real when you have an actual object dedicated to it.

The ritual will help. If you always write in your dream journal, even if you can’t remember anything, it becomes a habit. If done right, and done serious, it could become a ritual of sorts – something you do every morning. Eventually your brain will be used to it, and help you.

Putting the dream experience into words, making it real. Verbalizing is important, because the dream isn’t real and won’t be remembered very well. It becomes real when you define it, however. Writing those words down in a journal will make sure you have to describe it, as well as aid your memory later on. It’s shown that thinking and writing the thoughts down will help you remember better than simply thinking.

After a few days you should have enough data to start analyzing. What themes, items, contexts and so on are common? Knowing this will help you remember more.

What should you do

Fetch a notebook, a journal software (or Notepad, any text editor could work) and put a name on your new journal. Any medium would do, really, but text would be preferable because it’s easy to go through later on. Imagine trying to skim through ten hours of voice notes. I believe computerized text is optimal, because I don’t have to decipher my handwriting and I can search through the entries.

The probability of remembering dreams would be highest just when you wake up. The number of details and amount of clarity recalled will decline over time, as will the likelihood of remembering any “new” dreams. Therefore it’s important that you plan on how you are going to consolidate your dreams into the dream journal. Are you going to write them down when you wake up in the morning, or are you going to write them down later? Writing when you wake up is great. Personally, I take voice notes when I wake up and write them down later when I have spare time. Still, some details could be lost, as I can’t speak out all the details.

How are you going to handle waking up during the night, if you have a dream fresh in your mind? “Meh, I’ll write it down later, I’ll remember it…” doesn’t work – trust me on that one. Voice or written notes? Can you go back to sleep after having a bright phone in your face? Or write clearly in the dark just after waking up? I dim my phone’s backlight and take some quick notes – key words. It works for me. If you forget what those key words mean, try to write the dream down instead. With practice, you might be able to get away with shorter notes. Test different things and see what works for you.

If you remember any new dreams or details during the day, be sure to jot them down as well.

Keeping a dream journal will aid you in recalling more dreams in greater detail, but it’s only the basic step. The most basic, and indeed the most important step.

Be the first one to comment!