The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for March, 2015

Some ICACLS & SubInACL.exe notes

Posted by jpluimers on 2015/03/31

Icacls.

The icacls tool is limited to files and directories, while subinacl managed services and registry as well.

For services (and registry?), you may want to try GPO:  http://support.microsoft.com/kb/256345

To script a solution, the best I could find in my search is to use Set-Acl: http://technet.microsoft.com/en-us/library/hh849810.aspx

via SubInACL.exe for Windows 7.

You will need to run ‘Subinacl Tool’ to reset the permission to normal. To reset system permissions, follow the steps:

1.       Download subinacl.msi from the following link, and save it on the desktop.

SubInACL

2.       On the desktop, double-click subinacl.msi to install the tool.

3.       Select C:WindowsSystem32 as the destination folder.

Note This step assumes that Windows is installed in C:Windows. If Windows is installed elsewhere, select the appropriate path to .System32.

4.       Open Notepad.

5.       Copy the following commands and then paste them into the opened Notepad window.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

subinacl /subdirectories %SystemDrive% /grant=administrators=f

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

subinacl /subdirectories %SystemDrive% /grant=system=f

6.       In Notepad click File, Save As, and then type: reset.cmd

7.       In Notepad click Save as type, and then select All Files (.).

8.       Save the reset.cmdfile to your desktop, and close Notepad.

9.       Double-click the reset.cmdfile to reset the Windows Update permissions.

Note This step may take several minutes, so please be patient. When the permissions have been reset, you will be prompted with \”Finished, press any key to continue.\”

10.    Press any key to complete the installation.

Check if you have the right permissions to all the folders for all users.

For more information you may check the article given below. The article given is for Windows XP updates, but still holds good for Windows Vista as well as Windows 7.

http://support.microsoft.com/kb/968003

via How to reset all user permissions to default? – Microsoft Community.

Posted in Power User, Windows | 1 Comment »

BitSavers.org just added 7 missing scans of PascalNews newsletters (1975…1983)

Posted by jpluimers on 2015/03/30

For anyone keeping up with Pascal history, these uploads are new:

–jeroen

via: Index of /pdf/pascalNews.

Posted in Apple Pascal, BitSavers.org, DEC Pascal, Delphi, Development, History, IBM Pascal, Pascal, Software Development, Standard Pascal, Turbo Pascal, UCSD Pascal | Leave a Comment »

Setting the SMB/Netbios name of your Mac

Posted by jpluimers on 2015/03/30

Even after changing the name of your Mac, from the Windows side it still looks like this:


C:\Users\developer>net view
Server Name Remark
——————————————————————————-
\\MACBOOKPRO-4C7F Jeroen's MacBook Pro
The command completed successfully.

I knew I had solved this in the past, as the MacBook Air showed up correctly in the list:


C:\Users\developer>net view
Server Name Remark
——————————————————————————-
\\MACBOOKPRO-4C7F Jeroen's MacBook Pro
\\MBAIR133JWP MBAIR133JWP
The command completed successfully.

The trick is that there are 2 names for your Mac: the name for the Apple side of things, and the name for the Windows side of things. For the latter you’d think it would be named SMB or NetBIOS. Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User, SpotLight | Leave a Comment »

DanielRapp/doppler

Posted by jpluimers on 2015/03/28

Look ma: no mouse! DanielRapp/doppler. Detecting motion with your built-in computer speakers and microphone using the Doppler effect.

Cool!

–jeroen

Posted in Algorithms, Development, Software Development | Leave a Comment »

Nieuwe publieke WiFi van @DeWaterkanten is best snel

Posted by jpluimers on 2015/03/28

Voor de verhuizing van het Sportfondsen zwembad van van Sportcentrum de Lis naar Sportcomplex de Waterkanten was het publieke WiFi internet daar niet vooruit te branden.

Na de verhuizing gelukkig wel: grofweg 40/10 Mbps downstream/upstream.

De verbinding loopt via Ziggo Zakelijk:

Nu de draadloze PIN apparatuur nog, want die doet het niet.

Gelukkig doet het bedrade PIN apparaat het wel (:

–jeroen

via: Who is my ISP? – Find your Internet Service Provider.

Posted in Power User | Leave a Comment »

Delphi Pipe – Delphi related RSS feed running on Yahoo Pipes – via twm’s blog

Posted by jpluimers on 2015/03/28

New Delphi related RSS feed: Delphi Pipe “A collection of Delphi related RSS streams” which works perfectly fine in Feedly.

You can get the source through http://pipes.yahoo.com/delphipipe/thepipe

The source is sooo simple, that I now definitely need to make some time to really do some Yahoo Pipes research:

Since Delphi Feeds doesn’t list my blog any more and generally isn’t very fast in responding to requests for adding or removing feeds, I have created my own aggregated feed: Delphi Pipe. It’s done with Yahoo Pipes and currently contains the following feeds (most important first ;-) ):

Oh and thanks Thomas Mueller for listing my feed second (;

Bug him on G+ to get added.

Later he showed how easy it is to convert your G+ stream to an RSS feed: Using Google+ as input for Yahoo Pipes.

Then how to read a CSV file (which is hosted on his site) as input to the RSS generation.

–jeroen

via: Delphi Pipe » twm’s blog.

Posted in Delphi, Development, Software Development | 8 Comments »

[NL] Verenigingen Sassenheim moeten bloeden voor (semi-)commerciële bibliotheek van buiten de gemeente – @deteyding @ adestmusica

Posted by jpluimers on 2015/03/28

Bizar: lokale verenigingen moeten bloeden om een (semi-)commerciële Bibliotheek (nauwelijks open is, al tonnen subsidie krijgt en goeddeels buiten de gemeente opereert) te steunen.

Verenigingen zijn de lijm van je samenleving. Ze krijgen al geen of nauwelijks subsidie krijgen en worden hiermee hard geraakt: de huur bedraagt nu al een substantieel deel van hun begroting en gaat zo nog zwaarder drukken.

De Bibliotheek Sassenheim, Bibliotheek Voorhout en Bibliotheek Warmond zijn helemaal geen vereniging (ze vallen onder de stichting Bibliotheek Lisse, wat eigenlijk een commerciële partij is die voor een groot deel buiten de gemeente Teylingen – Lisse, Noordwijk, Noordwijkerhout, Oegstgeest – opereert en nog steeds tonnen subsidie per jaar krijgt).

De zwaarst getroffen verenigingen zijn (huurverhoging per jaar):

  • Adest Musica: 12.350 euro
  • Theater ‘t Onderdak: 8.955 euro
  • Biljart Entree: 3.040 euro
  • ATV Pankras: 2.970 euro
  • De Saksen: 2.470 euro
  • NVVH Vrouwennetwerk: 1.065 euro
  • Crescendo: 1.030 euro

Stichting tot Exploitatie en Beheer van SCC ’t Onderdak (SEBO) moet totaal 31.335 euro extra huur innen. Welzijnskwartier moet 23.650 euro gaan betalen voor Fascinus en @hok. Waarschijnlijk zal er voor beide stichtingen extra subsidie nodig zijn om deze huren te kunnen betalen.

In Agneshove, Het Trefpunt en de Bibliotheek krijgen lagere huren door het gelijktrekken van de huren in de tarievennota. De bibliotheek gaat 26.635 euro minder huur betalen. St.Cecilia is 2600 euro goedkoper uit.

–jeroen

via: De Teyding; nieuws uit de gemeente Teylingen (Sassenheim, Voorhout en Warmond) – Enorme huursverhoging voor verenigingen in ‘t Onderdak in Sassenheim.

Posted in About, Adest Musica, Opinions, Personal | Leave a Comment »

[NL] toch nog onverwacht snel: Eindelijk. Glasvezel in Sassenheim. @deteyding @xs4all @Reggefiber

Posted by jpluimers on 2015/03/28

Toch nog onverwacht snel: Eindelijk. Glasvezel in Sassenheim.

Ik had geen hoop meer dat dit snel zou gebeuren en daarom voor mijn broer xs4all ADSL laten aanleggen:

Mocht je zakelijk op een bedrijventerrein glasvezel willen, dan kan dat op de industrieterreinen IndustriekadeJagtlust en Zuid-Sassenheim. Zie Glasvezel Sassenheim voor meer informatie.

–jeroen

via De Teyding; nieuws uit de gemeente Teylingen (Sassenheim, Voorhout en Warmond):

Posted in Opinions | Leave a Comment »

OS X Finder: viewing hidden paths

Posted by jpluimers on 2015/03/27

One of the most frustrating things on a Mac is that the OS X Finder does not allow you to browse all paths.

Unlike Windows the Windows Explorer, where it is fairly easy to switch a preference for enabling/disabling showing the hidden files and folders, there is no option in the Preferences. There is a command-line trick (see below) to enable/disable showing hidden files and folders.

Luckily, both the Windows Explorer and the Mac OS X Finder allow you to specify the full folder path to browse, where you can enter a path that otherwise would (partially) be invisible.

  • Windows Explorer: just enter a full path in the address bar.
  • Mac OS X Finder: press Shift-Command-G (or Menu -> Go -> Go to Folder...), then enter the full path.

An alternative for Mac OS X is the payed (but great tool) Path Finder which is one of the best Finder replacements I know.

Command-line trick to enable/disable Mac OS X Finder hidden folder behaviour

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, OS X 10.8 Mountain Lion, Power User | Leave a Comment »

.NET threading: native and managed thread IDs do not per se correlate

Posted by jpluimers on 2015/03/26

Next time I run into .NET and native threading issues:

Main UI threads often have a correlation between managed and native thread IDs.

But for other threads, you cannot be really sure.

Some background articles on this:

–jeroen

Posted in .NET, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »