2016. április 3., vasárnap

Adding Alternative Remote Git Repository

I had a large project, which I kept in a Git repository. As a backup I also pushed it to a private Github repository. I wanted it to be private, bacause of the nature of the project, which wasn't in a state to be public.

But, as usual, it was a little problem, which was the price in this particular case. While I kept the private repository on Github, but moving back to a free plan made for me impossible to push changes.

Fortuantely, I heard Microsoft's Visual Studio Team Services has Git support - and quite a bit later - I decided to copy my repository there.

Git not only supports multiple branches, but also supports multiple remote repositories. Which is good if you want to make your life mote confusing :) . The nice thing is that all remote repositories are considered to be the same. So the usual origin/master branch is nothing special and it's the same as teamfoundation/master branch we're going to create.


 In the following, I'll list the commands I used to create the alternative repository, with regards to the existing remote repo.

git remote show - lists all remote repositories
git remote add teamserver "https link from teamserver repository description" - well, it adds the new repo to our local one
git remove show teamserver - lists the details of our remote repository
git push teamserver master - finally, we can push our commited changes to the new remote repository. This command will also create the master branch on the remote server

The funny thing is, that I searched for tutorials how to do this remote repository thing and didn't find in the mean time, that the detail page of my Team Services repo explicitally tells me the needed git command to push the changes there from an existing repository.




 Thanks for reading :)

2016. február 21., vasárnap

VirtualBox snapshot problem

While I was setting up a development machine in VirtualBox, I created several snapshots of it. I was doing this to being able hopefully painlessly un- or reinstall Visual Studio. However, after the first shutdown I wasn't able to  run my virtual machine again, because the first snapshot VHD file didn't have the right parent UUID. It was set to {00000-0000-0000-0000-000000000000}.

2015. március 16., hétfő

Skype's Disk Activity

I have a rather weird issue with Skype on my desktop computer. If it's running - even in the background I hear the hard disk ticking. When I close the Skype the ticking stops.

Checking in the Task Manager Skype is accessing my disk with around 0.1 Mbytes / s rate, which I found a bit unusual.

2014. szeptember 10., szerda

Crashing Spotify - probably solved

I really love Spotify, because of tons of music I can browse. I usually use its Windows desktop client. I find it kinda usable, no worries and I'm keeping it updated.

Perhaps, since one update (cca. 2 weeks ago) app crashes appeared. Especially in Radio feature, when I rapidly switch between the tracks. The weird thing about the crash was, that there was no system message about application crash, the app window - and naturally the Spotify process - just disappeared.

Today, after installing Windows updates gave it a second try and business as usual :( . After some rapid switching Spotify crashed again, but I didn't give up. In advance, I must admit I'm using it on a really old HP notebook, with Core Duo T2050 processor, but in combination with Windows 8 (no 8.1 of course :D).

While browsing Spotify's prefrences, I noticed some Hardware Acceleration tweaks. I found them interesting and most interestingly they were enabled. After disabling them and restarting Spotify I haven't encountered any crashes, yet. Win situation - finally I can browse the music with no limits :D.

I love pictures, so here is one about Spotify Preferences dialog, with Hardware Acceleration settings working on my old workhorse:

2013. március 29., péntek

Is hwinfo.com infected?

My story starts with my mother's problem. She complained me about her computer which turned off after several minutes of working. I decided to clean its heatsink, but it was pretty clean, so I decided to not take apart the notebook, because I didn't yet have any thermal paste.
Well this isn't special thing, but I really wanted to make sure, that the CPU's overheating, so I downloaded and sent her the hwinfo32 application, which I use to monitor the CPU temperature. Then surprise happened:

2013. február 21., csütörtök

PlayStation 4 introduced

The first presenter at Playstation meeting 2013 introduced the new gaming console Playstation 4.



2012. november 3., szombat

Google's Youtube has some problems

According to several user reports Youtube has some technical problems causing monkeys have lot to do. On the other hand , it seems, that not only Youtube is facing some internal server errors, but there is a problem to Google's HTTP servers, too.

So what are, the symptoms?

The most well known problem is Youtube's internal server errors, making videos unreachable. The problem is present at least since yesterday, make me beleive, that this is not a planned maintance action. Moreover, the fact that they haven't still fixed it, tells me it's some serious problem. Fortunately, not the whole service is down, perhaps due to load balancing, so you can get the video from a working server.

Also it seems, that the storage isn't affected, because nobody reported any data loss, so don't panic. But if I were you, I wouldn't upload any video, until this issue is present.

Google's ad service also facing the same issues, causing some ads unavailable. What a shame, isn't it? :-D ( Perhaps, due to the new feature, where ads are videos. too )





 
Finally, even I can't get the message about highly trained monkey ( probably Skipper's chimp partners ), because of HTTP service's unavailability.



We cannot speed up recovery, so have one choice...live our offline life. So, go for a walk and enjoy air!

2012. március 14., szerda

Margin Call - Krízispont - Kevin Spacey most is a kaszinóban, de a kártyát otthon hagyta

2008 őszén csődbe jutott egy patinás New York-i brókercég, a Lehman Brothers. Ez az esemény, azonban nemcsak az ő végüket jelentette, hanem egy gazdasági válság kirobbanásához is vezetett. Bár a filmben nem szó szerint erről a pénzintézetről van szó, de a történet a Lehman Brothers körülbelül két napjáról szól a válság kirobbanásának kezdetén. Egy újabb tőzsdés film mondhatnánk, viszont később kiderül, hogy valami sokkal mélyebb mondanivalója van. Nem csoda, hogy 2012-ben Oscar-díjra jelölték a legjobb forgatókönyv kategóriájában.

A film trailere:



2012. január 17., kedd

Székely hónapnevek

A Maradj talpon vetélkedő egyik kérdésében vetődött fel, hogyan nevezik februárt a székely naptárban. Érdekelt a többi megnevezés is, ezért barátunk a Google egyik találatában megtaláltam a többi megnevezést is:

2011. november 18., péntek

Downmixing 5.1 channel audio to stereo

I had some recordings, that contain AC3 audio with 5.1 channel audio, but I needed a copy from these video files with stereo sound. I usually use ffmpeg for video recoding stuff, so primarily I searched for a solution for this program.

Firstly, I found several forums, where other guys were talking about similar problem. It seemed, that the only solution is to add a patch to ffmpeg's source code and rebuild it.

Other guys used Audacity to downmix the audio. They used a WAV-files, which contained the 6-channel audio and for decoding 6 channel audio was used ffmpeg.

Well, I was more satisfied with the second solution, but a didn't want to use Audacity for this task, because I considered, that making a WAV file with 6-channel uncompressed sound data isn't very elegant :).

So my final solution became this:
- I extracted with VirtualDub the AC3 sound data to a WAV file ( which contains the compressed audio data, so it's a single AC3 audio file )
- Using ffmpeg tha AC3 audio file was converted to a stereo MP3 file (It isn't clear to me why it works, perhaps the patch was included in the latest versions)

The ffmpeg command was: ffmpeg -i audio.wav -ac 2 -ab 160k audio.mp3

The -ac 2 option says, that the user wants a 2 channel output.

2011. szeptember 24., szombat

Végleg eltűnt az UARS

A NASA tweet üzenetei alapjai az UARS műhold Kanada Alberta tartománya fölött megsemmisült. Ezzel véget ért egy elég különleges éjszaka, amely során ezrek követték figyelemmel egy műhold utolsó napját.

A www.nasa.gov/uars oldalon további információkat lehet olvasni e műholdról. Többek között az oldalon működött egy számláló, mely az űrben eltöltött idő mutatta, viszont ez még a lezuhanásról szóló hír után is működött:


Egy másik blogbejegyzésemben próbáltam követni a műhold utolsó pár óráját, ami sajnos nem tartott sokáig: az angol nyelvű bejegyzés

További szép napot mindenkinek, aki olvasta ezt a bejegyzést!

UARS - The falling satellite

Hi guys!

I tried to follow the position of the satellite UARS (Upper Atmosphere Research Satellite ), which is returning to the Earth these hours. I had a little problem to find a working website, but finally the www.infosatellites.com and www.heavens-above.com/ are quite good.

On the other hand, there should be a couple fo people, who doesn't have access to these sites, so I decided to publish som data on my blog. I hope you'll enjoy it and I can refresh it.

Update 3 (final):
I think, the most exciting parts are behind us. I hope you have enjoyed this night, even if you didn's see the UARS. Thank you, who have visited.

R.I.P. UARS.

Update 2:
Possibly the UARS is down for now. At least according to the tweets of NASA. Most possibly it landed in Canada.





Update:
A little survey about your thoughts :) :


The time datas are in CET (+6 hours to ET) (from infosatellites.com):

08:04:



Latitude: 43.55°
Longitude: -50.37°
Altitude [km]: 158.61
Altitude [mi]: 98.56
Speed [km/s]: 7.82
Speed [mi/s]: 4.86

07:54:



Latitude: 56.35°
Longitude: -113.27°
Altitude [km]: 159.43
Altitude [mi]: 99.07
Speed [km/s]: 7.82
Speed [mi/s]: 4.86


07:44:


Latitude: 24.8°
Longitude: -169.13°
Altitude [km]: 151.49
Altitude [mi]: 94.13
Speed [km/s]: 7.82
Speed [mi/s]: 4.86


07:24:


Latitude: -32.8°
Longitude: 153.14°
Altitude [km]: 161.96
Altitude [mi]: 100.64
Speed [km/s]: 7.81
Speed [mi/s]: 4.85

07:20:
Hmm....it seems, that the satellite enjoys the fame :) .

07:14



Latitude: -56.33°
Longitude: 104.14°
Altitude [km]: 173.59
Altitude [mi]: 107.86
Speed [km/s]: 7.8
Speed [mi/s]: 4.85

07:06:

Latitude: -48.31°
Longitude: 49.16°
Altitude [km]: 172.35
Altitude [mi]: 107.09
Speed [km/s]: 7.8
Speed [mi/s]: 4.85


06:57:

Latitude: -21.34°
Longitude: 19.51°
Altitude [km]: 163.03
Altitude [mi]: 101.3
Speed [km/s]: 7.81
Speed [mi/s]: 4.85



06:20 :
Latitude: 42.33°
Longitude: -129.6°
Altitude [km]: 156.24
Altitude [mi]: 97.08
Speed [km/s]: 7.82
Speed [mi/s]: 4.86

06:29 :
Latitude: 56.99°
Longitude: -73.15°
Altitude [km]: 161.24
Altitude [mi]: 100.19
Speed [km/s]: 7.82
Speed [mi/s]: 4.86

06:34 :
Latitude: 53.91°
Longitude: -51.57°
Altitude [km]: 161.22
Altitude [mi]: 100.18
Speed [km/s]: 7.82
Speed [mi/s]: 4.86


Approaching Africa:

06:40:
Latitude: 33.61°
Longitude: -16.49°
Altitude [km]: 158.43
Altitude [mi]: 98.44
Speed [km/s]: 7.81
Speed [mi/s]: 4.85



06:48:
Latitude: 13.7°
Longitude: -1.62°
Altitude [km]: 157.08
Altitude [mi]: 97.6
Speed [km/s]: 7.81
Speed [mi/s]: 4.85



2011. július 10., vasárnap

Tehervonat Siemens F4 mozdonnyal

Sikerült egy mobilos videófelvételt készítenem egy tehervonatról Prága - Bubeneč állomáson.

Élvezzétek a "kimagasló" képminőségű felvételt.



Ha jól tippelek ez egy Siemens F4-es mozdony, mely valamelyik magántársasáág tulajdonában van.

2011. július 6., szerda

Van egy jó képed Steve Ballmerről?

Az engadgetet böngészve találtam a hírt, miszerint a Microsoft megállapodást kötött Kína meghatározó internetes keresőjével a Baiduval. Mivel az engadgetes srácok szeretik a poént, rákerestek Steve Ballmer bácsira, aki a cseppet sem visszafogott előadásairől híres, és megnézték, hogy a Baidu milyen képeket talál róla.  Az eredményt meg lehet nézni az engadgeten: http://www.engadget.com/2011/07/05/microsoft-baidu-strike-china-search-deal/

Próbaképp én is rákerestem Ballmerre, de én a Microsoft házi keresőjével tettem. Szerintem nem szűrik a keresési eredményeket:

Bing (Katt a nagyobb képért.)

Viszont ha már itt tartunk gondoltam csinálok egy összehasonlítást:


2011. június 19., vasárnap

Böngészés felturbózása ingyen

Következő posztomban azt szeretném leírni,hogy miként tudjuk növelni a böngészés sebességét ingyen és minden böngész számára.

Az internetes böngészők sajátossága, hogy minden egyes letöltött objektumot (képet, flash objektumot és persze magát az oldalt) elmentenek a számítógép merevlemezén. Bizonyos esetekben azonban ez hátrányosan érintheti a böngészés sebességét, mert előfordulhat, hogy a merevlemez nem képes megbirkózni a sok apró állománnyal.

Az egyik közkedvelt módszer ennek kiküszöbölésére egy ún. RAM diszk létrehozása, amely nem más mint a számítógép memóriájának egy része, amely merevlemezként jelenik meg a rendszerben. Ez azonban csak a látszat, mivel a RAM diszk rendkívül gyors, ugyanakkor kikapcsoláskor (vagy akár az őt létrehozó program hibájából) elveszti az adatokat. Emiatt érdemes csak ideiglenes fájlok tárolásásra használni, amilyenek a böngészéskor ideiglenesen letöltött fájlok.

Nézzük meg, hogyan hozhatunk létre RAM diszket. A bemutatásnál Windows Vista rendszert használok Internet Explorer 9-cel és Mozilla Firefox 3.5.x-szel. RAM diszk programnak az ImDisk nevűt választottam. Ennek fő oka, hogy ingyenes és nyílt forráskódú, amely valamilyen szinte garancia arra, hogy nem kapunk melléje szemetet. Hátránya, hogy nekem kicsit fapadosnak tűnik, ami inkább csak a felhasználói felületére vonatozik.

Figyelmeztetés: Jelen leírást mindenki a saját felelősségére használja. Nem vállalom a felelősséget az esetlegesen felmerülő adatvesztésért, rendszerstabilitási problémákért vagy az esetleges emberáldozatokért.


2010. október 10., vasárnap

Tőzsdecápák - A pénz nem alszik

Ma sikerült megtekintenem a Tőzsdecápák c. 1987-es film folytatását. Egy biztos az első rész szerintem A tőzsdés film. Igen, nagy "A"-val, mert élvezetes, pörgős és mindenki számára emészthető.

Pont emiatt elég nagyok voltak az elvárásaim a folytatással kapcsolatban. Egy-két kritkát elolvasva úgy tűnt, hogy ez a film is a folytatások problémáival fog küzdeni. Ellaposodó történet, túl sok kapcsolat az előző epizóddal, fércmunka - a nézők úgyis megnézik a sikeres első rész után...

2010. augusztus 19., csütörtök

Egy küzdelmes nap megkésett naplója

Egy ismerősöm ajánlott egy könyvet, mely hasznos lehet az elkövetkező pár évben. Ez a könyv az Algoritmusok c. szakkönyv volt. Egy probléma akadt: az ismerősöm Budapesten vásárolta meg és más helyet nem ismert ahol árusították volna. Én viszont általában Prága és otthonom között ingázok. Sajnos több hónap telt el úgy, hogy Budapestnek a közelében sem jártam. Júliusban azonban csak rövid ideig kellett Prágában tartózkodnom és a szokásos hazavezető útvonalon egy picit módosítottam :). Úgy gondoltam, hogy jó ötlet lenne útba ejteni Pestet is. Az internet segítségével sikerült megtalálnom pár könyvesbolt címét, ahol fellelhető volt az adott könyv, így nem volt más hátra mint megvásárolni a vonatjegyet, aludni egy kicsit és útrakelni.

Bevezető

Üdvözöllek Kedves Látogató!

A blog, melyet olvasol azokat a posztjaimat tartalmazza majd a jövőben, amelyek nem férnek bele az A Shareowner's Diary írásai közé, amelynek tartalmi vagy nyelvi okai vannak. Eme blog a személyesebb tartalmú posztjaimat fogja tartalmazni és magyar nyelven tervezem vezetni. Így nem fognak keveredni a magyar és angol nyelvű posztok és tematikailag is az A Shareowner's Diary egységesebb lehet a jövőben (mármint ha nem leszek túl lusta a posztolással :D .)

Terveim szerint bármiről írni fogok, amit érdemesnek tartok arra, hogy az internetforgalmat terheljem vele. Remélem Ti, kedves olvasók is aktívan kifejtitek majd a véleményeteket és bátran fogtok kommentelni.

Köszönöm a figyelmet és jó olvasást!