2014-06-26

Active Directory: Export search results from Active Directory Users and Computers (dsa.msc)

Now after you have made a search, it won't let you just select all and then copy paste or so.

You need to define a saved search, i.e. create a query, define as before custom search, name=*proxy* as ldap query and finish.

Then you can execute the search and use export list.

Active Directory: Search Active Directory Users and Computers (dsa.msc) using wildcards

Example find everything with *proxy* in name:

Open dsa.msc
Select the domain or switch to the domain you need
Click Action -> Find ....
Click in Find and select Custom Search
Click on Advanced Tab
In the entry field "Enter LDAP query:" type name=*proxy*
Click on Find Now

2014-06-23

Windows: Quickly create large file for test

C:\test>fsutil file

---- FILE Commands Supported ----


findbysid               Find a file by security identifier

queryallocranges        Query the allocated ranges for a file

setshortname            Set the short name for a file

setvaliddata            Set the valid data length for a file

setzerodata             Set the zero data for a file

createnew               Creates a new file of a specified size

queryfileid             Queries the file ID of the specified file

queryfilenamebyid       Displays a random link name for the file ID


C:\test>fsutil file createnew

Usage : fsutil file createnew <filename> <length>

   Eg : fsutil file createnew C:\testfile.txt 1000


C:\test>fsutil file createnew test1MB 1048576

File C:\test\test1MB is created


C:\test>fsutil file createnew test100MB 104857600

File C:\test\test100MB is created


C:\test>fsutil file createnew test1GB 1073741824

File C:\test\test1GB is created


http://tweaks.com/windows/62755/quickly-generate-large-test-files-in-windows/

 

2014-06-05

Apple Rant #9: A lot has changed but still far away -> Vision: All data is one, Apps apply structure

Some months have passed and Apple announced some surprising features that have the potential to bring us further.

But I believe that we are still not where current technology could bring us actually.


Vision:

All data is one. Everything is an information and the purpose of a program is just to represent the one data in whatever representation one chooses.

The topic is quite complex but I try to give a small example:

Calendar

  • Today I have to create calendar entries and specify certain parameters.
  • Most often the program does not allow to use whatever information is already existing, but you will need to copy partial information into this calendar entry. Each Program might have different capability.
  • What one needs is the capability to use all data and structure a calendar entry around this with possible additional information to clarify things.
  • It is not possible to add just any data, the size is limited as well as is also the type of the data.
In my vision this does not matter, data is one and the program is just the viewer that display data and to it's capability. Some program will show what it can while the rest of the data is accessible but might be garbled, another program might add a visualisation or other representation that no one else can do but all operate on the same data.

Apple has added two critical pieces to make it work in 2020. One is that it is opening up the data storage for all programs (via iCloud Drive) and the 2nd is the expansions.

One program is extensible, i.e. you can use existing capabilities and extend very easily what has already existed and not try to reinvent the wheel (have a look at the million PDF viewers out there).

If some clever guy creates something marvelous new he can now actually work with the data and not having to copy data. But here is something critical missing. The clever new guy must be able to add data and the old program should instantly benefit from it in some way, whatever way. One must be able to see that there is more data than the original program can correctly display and allow this data to be viewed via an extension (which can be the other new guys program or whatever possible, even just plainly display compact binary information).

Everyone talks big data (not me, I don' t really understand it). But I easily understand by experience that one should have unlimited access to all data and use whatever clever algorithm to try to make sense for whatever purpose one might be looking at data.

Today's operation systems and application programs are archaic and limit us in all our capabilities, we have to spend so much time in trying to work around the limitations or to try to understand what someone has deemed the correct way to work with data. 

As in the calendar entry, allow anything, everything but as soon as it has certain properties make it appear as a calendar entry. Whatever that might be. Be extremely open about filtering capabilites and allow any program to access data which then tries to show to the end user what it can. Allow it to alter what it can, but in such a way for everything else to just continue to work.

Let's have google web history for everything one does and not only by trying to fill in diary items or posting to your timeline. It should be done automatically with some neural networks based (as you can easily see, I have no clue about what I'm talking) learning algorithm to decide what one entity most probably wants to see at each point in time.

One data, limitless possibilities make it now.

Apple as have many before might go into the right direction but the move is not bold enough for me as I want to be benefiting from this still in my lifetime.

Currently I use about 5 programs for calendar and about the same number of programs for PDFs. This has to go. not the number of programs but that they operate on the same data and not having either multiple copies or different data storages for partial information.

Don't forget the limitation of almost all calendar programs to put tasks directly into your calendar and not somewhere near the calendar. Outlook 2013 can still not do it, from 2007 or 2010 you could place it below the day, which is not within the day.

Also reminders in iOS are not displayed in the calendar on the day.......

Google annoyances: Copy Past images (blogger), Translate web page (chrome)


As it turns out many tasks one thinks should be achievable and possible with actually no tinkering, simply fail.

As it is with the following 2 points:

  • OS X Screenshot to clipboard and then past directly into blogger.com
What makes this really bad is that while you edit the entry, you can actually copy paste the picture into the entry field, but once you publish and view it the pictures have ? placeholder first and maybe are gone later with no indication. I really don't like that Blogger does not have WYSIWYG interface. The editing capabilites are so 2011. Most probably an indication that it is soon another product on death row?
  • OS X translating a web page in German to English
Chrome identifies the web page to be in German and I see on the web page all german text, but applying the translate option does not change a single displayed character. Very strange but ultimately a fail.

VoIP: OS X: App Telephone: Making Voice calls using SIP application Telephone and FirtzBox 7390 (OS 06.05)


Configuring a MAC SIP Software to use FritzBox from AVM is a no-brainer.

Today I was testing a couple of new features of 10.10 and iOS 8 and suddenly I felt the urge to finally try to make phone calls through our quite recent change in telecommunication. 

Here every provider is getting rid of the classic analogue telephone and all calls are through either DSL or Cable.

Interesting enough my provider uses VoIP (G.711 in both directions) and they provide me with one of the most flexible platform on Earth -> AVMs 7390. This box does nearly everything possible (not true) and it learns constantly new stuff. (It's not the fastest and the GUI is not really a strong point. But they try and they have a very strong technical background and expose more details to a regular user than most others; or they did about 10 years ago).

It's a two step process:
  • Create a telephone config on FritzBox
  • Create an account in your SIP software of choice

First you need to create a WLAN/LAN phone on FritzBox (I could not manage to get the GUI in English, not even in chrome using the translate option :((

  • Log into the box using fritz.box
  • Click on Telefonie
  • Click on Telefoniegeräte
  • On the right side Choose Neues Gerät einrichten
  • Choose the first option "Telefon" and click on Weiter
  • Choose LAN/WLAN 
  • Specify a Name for your Device and click on Weiter
  • Now it will tell you the registrar (most probably is fritz.box)
  • It will show you your user name, which is automatically selected (in my case 622)
  • Choose a password and click Weiter
  • Choose your telephone number that you want your calls to originate from and then click on Weiter
  • Choose which numbers to pick up (usually any) then click on Weiter
  • It will show you a summary and then you have to click Übernehmen to finish configuring

Now to the MAC OS X Config:


Ok, I was looking for a free SIP Software, which I found in Telephone. After installation from AppStore on 10.10 I started it and it wanted 4 parameters:





Full Name: Whatever you like
Domain: Must be fritz.box (or whatever you have configured you FritzBox to be)
User Name: This is the Telephone (This is created was created on the FritzBox just before)
Password: Password specified for the telephone on the FritzBox

Telephone has a simple interface with access to your address book and it just works. Done within a few minutes and worked the first time.


Here is the page from AppStore. He should actually have charged .99 cents.