See more at The Stack.
Author: zed
Watch Youtube as a pop-up window while working on other stuff
Let’s say you are working on a monotonous task that does not require your full attention, but still requires a hefty amount of time to complete – How do you entertain yourself while doing your job?
Usually, I tend to listen to music while working on some tasks, but I also like the ability to watch videos from time to time. But can you watch a video and continue working on your spreadsheet at the same time?
Well, of course – the most common way is to split screens:
The problem with this method is that a lot of screen-space is being wasted – if you watch a YouTube video, it’s probably ok if the video will be shown on a small part of the screen.
A better solution would be a floating window – but how do you that in Windows?
Here’s the solution:
- a software called “Turbotop” will allow you to set any open window to be ‘always on top’, thus even if you work on a different application, the window you set to be shown on top, will always remain on top.
- a shortcut to startup your browser without menus (aka ‘kiosk’ mode) – this will allow you to open YouTube directly in a minimal window, resize it to take a small portion of the screen, and keep it in one of the corners of the screen. Combine this with Turbotop and voila – you can now work on your spreadsheet, and watch Youtube without splitting the screen or hinder your work.
So let’s say you wish to do this trick with YouTube and Chrome:
- To open Chrome in ‘kiosk’ mode, create a shortcut with the following properties:
“C:\Program Files (x86)\Google\Chrome\Application\chrome.exe” –app=http://youtube.com - Download, install and run Turbotop. Then open the Chrome shortcut.
Choose the Chrome window and enjoy your minimalist floating YouTube video.
- I keep the Chrome shortcut as pinned icon in my task-bar, coupled with a ‘play’ button:
- Great Success!
How did I turn an alarming email to a list of potential clients
Recently a client of mine sent me an alarming email he received – it was a mention.com mention that showed that a website he owns is listed under an website vulnerability list. The website is actually mentioned a sub-domain address for a marketing software that my client uses, thus, the potential exploit is not on his server – but on the marketing software itself. Also, this particular potential-exploit isn’t of a real concern to us (nor to the marketing software development team, apparently 🙂 ).
I quickly realized that if the reported exploit is global to all the users of the software, I can use the list of exploitable websites to find out all the clients of this marketing software. This is important as everyone who uses that particular software is a potential prospect for my client.
But how do I take a list of thousand of potentially exploitable domains and check who uses this specific marketing software?
Luckily, this is rather easy in theory – when trying to surf directly to a sub-domain that is redirected to the marketing software servers, the user is redirected to the main website, coupled with a unique URL parameter.
So let’s say that the URL for the marketing software is marketing.clientdomain.com, surfing to this address will redirect the user to clientdomain.com/?ms=1.
I knew then, that in order to filter the domains that uses the marketing software, I’ll have to check each domain for the URL it redirects to, and than filter this list in a spreadsheet software. However, manually checking each link in a browser is definitely not an option when you got a list with hundreds or more of potential domains.
So how did I get to filter the list?
Obviously I googled. It is important to know what to google. We are looking on a way to check domain redirection. If you do SEO, you already know the answer, but for the rest of you out there, the answer has to do with the HTTP header response. What I needed is a tool that will check redirection per URL so I googled for ‘check redirect url’, which resulted for many SEO tools, usually online websites that offer you the ability to check one particular URL for redirection. This, of course, isn’t sufficient when you have many URLs to check:

example URL checker service, with multiple redirection hops (final URL is the one under 200 OK status)
My next google check contained the word ‘Excel’ – obviously, if I have a list of domains, and I need to check who fit a criteria, doing the whole process of checking redirects would be most convenient from within Excel. And indeed, Excel can be used for this purpose, rather easily, with an Excel add on called “SEOTools for Excel“. I recommend downloading and install their free version, it can be useful for many purposes including this one (but on small scale, I’ll explain further in this post).

https://www.mediaworks.co.uk/ provides an easy to use template, but it’s very easy to create one yourself using the included SEOTools unshorturl function.
Using the SEOTools for Excel, I manage to do a small scale test of multiple domains – and indeed, some of them included the URL parameter indicating they (almost certainly) use the marketing software I was looking for. The problem however, that again, I faced a scaling problem.
Excel is a great tool, but it’s actually one of the worse tools for this type of work – excel is very slow in executing URL retrieval and is built inherently for our purposes: Excel UI will stuck while it execute its functions. while it’s not an issue for a list with 100 URLS, when you have over 10,000 of them, Excel will be hell to use. The fact that excel will refresh the cell content (thus requesting the information again and again) under many circumstances add insult to injury. So…
Excel is not the solution!
I knew at this point that I must find a way to automate this process with a dedicated tool. The online ones, which I mentioned earlier, were mostly focused on scanning one domain. Even those that support multiple domains are limited (to bulks of 100 per scan), and there is always the risk of your information being stolen.
If a tool doesn’t exists, build one – or get someone to build it for you.
I started by googling the same strings, but this time with the world ‘Python’. Python is a very common, simple to use and understand programming language. I knew that even though I’m not a programmer, the chances I’ll find a working example and would be able to understand how the code works is very likely. I was not wrong.
I found the following code somewhere over stackoverflow.com:
import urllib2 for url in [“http://url1”, “http://url2”, ]: try: connection = urllib2.urlopen(url) print connection.geturl() connection.close() except urllib2.HTTPError, e: print e.getcode() |
---|
This simple code checks the URLS included in it, for their header response and print that on screen. This is nice, but a bit too simple for our purposes.
I had the domain list in an external file, the list was very big, it also contained some broken URLS. The code that you see here can handle only specific type of exceptions (errors in execution). But URLs retrieval can fail for many reasons. Also, printing the results inside a command line window isn’t practical either.
In the end, with the help of a programmer friend, we’ve modified the code to do the following:
- Check all the URLs in a file called source.csv
- Write all the successful responses to a text file called output.txt
- Ignore all exceptions – we don’t really care why a URL can’t be retrieve in this use-case
The resulting code is attached, together with an example source CSV:
http://zedonstuff.com/uploads/python-redirect-checker-example.zip
The end result?
I’ve created a huge list of companies that uses a particular marketing software – all of them are potential leads for my client.
The list cost nothing to create and is based on a publicly available information that was harvest by someone else 🙂
Commercial alternative
There are, however, paid service that will do the scanning and technology identification for you, they are not cheap, but well worth the time if you build your potential lead lists based on technologies that companies uses – a known and recommended one is Built-with.
Before – After: Raw Data vs 16bit TIFF from SPP (Camera Reviews, Sigma DP2M)
The difference between the amount of data retained in the original DP2M capture, and the SPP produced TIFF file is amazing.
To test it, I’ve exported the photo with the default settings:
Here, on the other hand – you can see the amount of data lost in the tiff when comparing the -2 stops images of both original RAW and TIFF:


The data in the sky is clearly lost in the TIFF, unlike what can be easily seen inside SPP editor.
Conclusion:
Multiple TIFF exposure exports are required from Sigma’s SPP program in order to capture the whole latitude range of the DP2M. This effectively means that in order to get the best out of your Sigma DP2M files – export 2 or 3 photos from SPP with different exposure values, and import them into Photoshop (or any other similar tool) as HDR tone-mapped material. That is of course, if the default exposure/latitude of the particular image is not to your satisfaction.
Sony A7s comments (Hebrew, Camera Reviews)
כרגיל, מדובר בביקורת הפונה לקהל יעד רחב יחסית, ועל כן לא יכולה להכיל כלל רשמי על המצלמה.
את הרשמים הנוספים שלי, ודוגמאות עזר ויזואליות, אציג פה בנקודות:
- מידת השימושיות של כל מצלמה באור נמוך, תלויה בראש ובראשונה באופי הסצינה המצולמת – אם אין תאורה טובה (או תאורה בכלל, מלבד זיהום אור עירוני) – אי אפשר להוציא תמונה טובה. זה נכון לA7s לא פחות משזה נכון למצלמות עם ביצועים נמוכים בהרבה בתאורה נמוכה. את התמונות הטובות שהצלחתי להוציא מהמצלמה, אפשר היה להוציא גם עם מצלמה רגישה פחות – אבל בזמן חשיפה ארוך יותר. הA7s אפשרה לי לא לרדת ממהירות תריס של 1/50 השניה. היתרון שלה בlow light, לתפיסתי, הוא ללא ספק בוידאו שם פשוט לא ניתן לבצע חשיפה ארוכה. בסטילס – צילום במהירות תריס נמוכה יותר, עם עדשה מיוצבת (או יצוב מובנה כמו בA7 II) יתן תוצאות מצוינות להערכתי.
- החיישן של הA7s הוא מקור הבעיות של ה’וינייט’ הסגול שמופיעה בחשיפה ארוכה – לא הmount. זו תופעה שמתרחשת גם בD800 על פי האדמין של DPREVIEW (גגלו A7S purple haze). זה לא מטריד מדי (ביצועי החיישן עדיין פנומנליים) אבל חשוב לציין שמי שעומד להשתמש בה בתאורה נמוכה מאוד, בין אם בוידאו או בסטילס, יצטרך לנקות ידנית את המפגע הזה.
- ההרגשה הכי חזקה שעלתה לי משימוש בA7s היא שאומנם מדובר בחיישן נהדר, אבל המצלמה מרגישה פחות רובוסטית מהGH4 לצרכי וידאו. קשה להגדיר ‘רובסטיות’ באמצעות פרמטר אחד, אבל לשמחתי – ישנה ביקורת ברשת (באנגלית) שמסבירה בדיוק את התחושה שלי ושווה מאוד לבדוק אותה לפני שמחליטים ללכת על מי מהמצלמות הללו. לביקורת המשווה בינהם יש ללחוץ פה – גם כותב הביקורת מעדיף את הGH4 על פני הA7S על אף יתרונה של האחרונה בlatitude, טווח דינאמי וכמובן low-light.
- ולחלק החשוב, תמונות:
מקור בRAW – ניתן להוריד פה. JPEG ערוך בפוטושופ לטעמי האישי ניתן להוריד פה.
להורדת JPEG ערוך לטעמי, יש ללחוץ פה. להורדת RAW יש ללחוץ פה.
JPEG ערוך לטעמי ניתן למצוא פה, RAW ניתן למצוא פה.
קובץ RAW ניתן להוריד פה
GH4 Review (Hebrew, Camera review written for Walla.co.il news site)
כשהתבקשתי לכתוב על מצלמת הדגל ההיברידית (מצלמה אשר שמה דגש זהה על יכולות סטילס ווידאו) החדשה של פנסוניק, אמרתי לצוות האתר כי זו ביקורת מיותרת – ‘מדובר במצלמה טובה, אני יודע את זה’.
במילים הללו, ניסיתי להסתיר, ספק בהצלחה, את ההתלהבות שלי מסיקור המצלמה. הGH4 של פנסוניק מעניינת בהרבה ממצלמות יקרות ואקזוטיות בהרבה ממנה – וכי למה?
• מצלמות מקצועיות, הכוללות בתוכן מצלמות ריפלקס דיגיטליות (DSLR) ומצלמות מדיום-פורמט בעלות חיישן גדול ואיכותי. מצלמות הDSLR, אשר החליפו את מצלמות הריפלקס הישנות (פילם) הפכו לכלי העבודה העיקרי של צלמי עיתונות ואירועים, ואף חובבי צילום אשר לא רצו להתפשר על איכות תמונה, ועל החופש הקריאייטיבי אשר מתאפשר ברכישת עדשות שונות, ציוד היקפי מתקדם (פלאשים) ועוד.
• מצלמות קומפקטיות בעלות חיישן קטן, אלו כוללות גם מצלמות דמויות DSLR (בצורתן) ומצלמות כיס. המצלמות הקומפקטיות הפכו לפופולריות ביותר בקרב הצרכן הממוצע – מי מאתנו לא צילום טיול או אירוע משפחתי עם מצלמת כיס דיגיטלית, בשלב כזה או אחר?
• מצלמות וידאו בעלות חיישן קטן, אלו, בשילוב עם מכשירי הDVD, הסטרימרים ומסכי הLCD והפלזמה שנפוצו בשוק הפכו לאמצעי צילום וידאו נפוץ מאוד.
הטיעון הראשון לטובת צילום ב4K הוא אותו טיעון שפעם השתמשו בו כדי להסביר למה מצלמות סטילס עם חיישן ברזולוציה גבוהה טובות מאלו עם חיישן ברזולוציה נמוכה (‘כי תוכלו לבצע תיקון של התמונה על ידי חיתוך בפוטושופ’). בנוסף, גם אם אתם מתכוונים לצלם וידאו בFULL HD, יש הגיון רב לצלם במקור בפורמט ה4K ולכווץ את התמונה לFULL HD בשלב העריכה – הוידאו שיתקבל יהיה חד יותר מוידאו שצולם במקור בFULL HD, ובמקרה הספציפי של הGH4 יראה גם טוב יותר מבחינות אחרות – מצב צילום ה4K בGH4 , סובייקטיבית, בעיני, פשוט נראה יותר טוב ללא קשר לחדות (מבחינת טווח דינאמי ואופי התמונה הכולל). המרה נכונה של פורמט 4K לFull HD מאפשרת, תיאורטית, לקבל גם טווח טונאלי טוב יותר בוידאו המומר – אך זו טענה מעוררת מחלוקת בקרב מומחים.
למצלמה מספרי פרופילי צבע, אשר מאפשרים לקבל תמונות בעלות אופי שונה מאוד – פרופיל הStandard מספק תמונה טבעית, חדה ורוויה, אשר מתאימה למי שפשוט רוצה לצלם ולהציג את החומרים ישירות על מסך טלוויזיה/מחשב. לעומת זאת, פרופילים כגון הCine-D, מאפשרים לקבל תמונה רכה בהרבה, ‘חלבית’ יותר, אשר מתאימה לתיקוני צבע, ומאפשרת לקבל טווח דינאמי מירבי (או, ליתר דיוק, למפות את הטווח הדינאמי של החיישן בצורה אופטימלית יותר על גבי הטווח המוגבל בקידוד הוידאו). שימוש מושכל בפרופילים של התמונה הכרחי לצילום וידאו מקצועי על המצלמה מכיוון שהוידאו לא נשמר בפומרט RAW – מה שצילמנו, זה מה שנראה כשנערוך את הסרטון, וככל שנדייק יותר בהגדרות הצילום (בין אם חשיפה, פרופילי צבע, איזון לובן) יהיה קל יותר להגיע לתוצאה הרצויה. אמנם מדובר במצלמת וידאו מקצועית, אך היא מרגישה מוגבלת מעט ביחס למצלמות קולנועיות המצלמות RAW. גם בהן, אמנם, לא תמיד ניתן להציל וידאו שנחשף בצורה שגויה.
הGH4 עמוסה בתפריטים, בכפתורים, וביכולות שונות (peaking, zebra, built in leveling) – צלמים מקצועיים שמוכנים להשקיע הזמן וללמוד איך לתפעל את המצלמה יהנו מאוד ממנה, ובמיוחד שיכולים לגרום לה לעבוד בצורה שלה הם רגילים, בעזרת כפתורים הניתנים לשינוי פונקציונאלי. כמנגד – זו האנטי-תזה לצילום ביתי, המצלמה נתפסת כמסובכת בשימוש ראשון – מרוב פיצ’רים, לא רואים את היער.
הבחינה האמיתית של הGH4 היא, כאמור, ביחס ליקום בו שוהה – למתחרות הפוטנציאליות ולשימושים של הצלם:
• מעוניינים לצלם וידאו ברזולוצית 4K, בפורמט וידאו מקצועי, במחיר הנמוך בשוק? אין שום מצלמה אחרת שעונה על הצרכים שלכם. לא היום, ולא בעתיד הקרוב. קנו את הGH4, ואם אתם בית הפקות מקצועי עם תקציב גדול יותר – קנו מספר מצלמות כאלו, לא תתאכזבו.
• רוצים מצלמה שעושה הכל טוב (גם אם לא מושלם)? הGH4 בשבילכם – איכות הוידאו, הסטילס, נוחות השימוש – הכל פה נכון (אם טרחתם ללמוד את המצלמה כראוי).
• רוצים מצלמה טובה לצילומים בתאורה נמוכה? וותרו על הGH4, היא טובה, אך לא מצויינת בתחום – חכו לביקורות על הa7s החדשה של סוני, הנ”ל על הנייר לפחות – יותר טובה מכל מצלמה אחרת ביקום, באספקט הזה. אופציה אחרת היא רכישת מצלמת DSLR עם חיישן FULL FRAME, אפילו הזולות בינהן (6D וd600/610) מספקות ביצועי תאורה נמוכה נהדרים.
• רוצים מצלמת וידאו מקצועית? אם אתם יכולים לוותר על זה שאין לכם ND FILTER מובנה, זו מצלמה נהדרת לשימושים רבים. אין לי ספק שבשנים הקרובות נראה יותר ויותר סרטים עצמאיים וסרטים דוקומנטריים שצולמו עם מצלמות היברידיות של פנסוניק.
נקודה חשובה שצריך להזכיר, למי שמתלבט ברכישת מצלמה כמו הGH4 – פורמט הmicro four thirds מאפשר שימוש בכמעט כל עדשה שקיימת בשוק, בעזרת מתאם מתכתי פשוט. אם אתם לא מצלמים עם אוטופוקוס – הGH4 תאפשר לכם להשתמש בעדשות ישנות של מצלמות הSLR שלכם, ועצם השימוש בה מנגיש אתכם לשלל עדשות – מעדשות קולנוע לפורמט 16מ”מ ועד לעדשות ניקון מלפני 20 ו30 שנה. זו דרך נהדרת ל’מחזר’ ציוד צילום ישן אם יש ברשותכם כזה, וזו הסיבה למה בחרתי באופן אישי בשימוש במצלמות Mirrorless של פנסוניק – יש לי עדשות ניקון, מינולטה וקנון – וכולן נגישות לי מבלי צורך לקנות מצלמות חדשות ושונות לכל פורמט.
לסיכום:
מצלמות Mirrorless הן העתיד, והGH4 היא הדוגמה הראשונה לאיך העתיד הזה צפוי להראות. למחיר שלה, ולגודל שלה – אין לה מתחרות, וכשתהיינה, אלו כנראה תהיינה מתחרות מבית. פנסוניק הוכיחה שהיא שומעת לרחשי הציבור, שכן כל מה שהיה חסר במצלמות הקודמות שלה, וצרכנים ביקשו – הם קיבלו במצלמה הזו. זו לא מצלמה מושלמת מכל בחינה, אבל החוויה הכוללת שלה עדיפה על כל מצלמה אחרת שאי פעם השתמשתי בה, כולל מצלמות יקרות בהרבה.