Thanks Ilya Grigorik for pointing me to Chromecast: Understanding its Potential beyond Video Streaming | The EWD Files.
Great overview on how it works accompanied with nice diagrams like this one:
Posted by jpluimers on 2014/05/02
Thanks Ilya Grigorik for pointing me to Chromecast: Understanding its Potential beyond Video Streaming | The EWD Files.
Great overview on how it works accompanied with nice diagrams like this one:
Posted in Chromecast, Development, Google, Power User, Software Development | Leave a Comment »
Posted by jpluimers on 2014/05/02
I totally agree with Tim Anderson here:
Open source, native code compilation, and an innovative compiler: it adds up to huge changes for C# and .NET, positive ones as far as I can tell.
–jeroen
Posted in .NET, .NET 4.5, C#, C# 6 (Roslyn), Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/05/01
Though a lot of people dislike the language, it survived until today.
So: happy 50th birthday BASIC!
BASIC Begins at Dartmouth
At 4 a.m. on May 1, 1964, in the basement of College Hall, Professor John Kemeny and a student programmer simultaneously typed RUN on neighboring terminals. When they both got back correct answers to their simple programs, time-sharing and BASIC were born.
–jeroen
via:
Posted in BASIC, Development, Software Development | 1 Comment »
Posted by jpluimers on 2014/05/01
SDB:System upgrade – openSUSE.
Every once in a while, I feel like I have been living under a stupid rock.
This was one of these cases. About 5 years ago, openSUSE added this feature:
openFATE – #305634: Debian-like dist-upgrade live system full version upgrade.
It is awesome, requires a bit of twiddling and afterwards you have a system that:
I don’t know of any drawbacks yet (will soon try it). If I find ones, I will post a new entry here.
The basic steps are like these: Read the rest of this entry »
Posted in *nix, Development, Linux, openSuSE, Power User, Scripting, sed script, Software Development, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2014/04/30
I’ll keep an eye on this series by Eric Lippert: Lowering in language design, part one | Fabulous adventures in coding.
–jeroen
Posted in Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/30
Every once in a while, you have a domain but the hosting is at another party that does not allow setting the “Host header” for name based virtual hosting.
So then you want to redirect the page to the hosting party, preferably with keeping the URL in the address bar.
Some how, when searching how to do this (I do it once every couple of years), I always miss the WikiPedia entry at the bottom of this post.
Basically, there are a couple of ways for this:
Only the first one keeps the current URL in the address bar of the browser. The other ones will show the new target url in the address bar.
Notes:
Posted in Development, HTML, HTML5, Software Development, Web Development | Leave a Comment »
Posted by jpluimers on 2014/04/29
I needed AntiVir on an openSUSE workstation.
Too bad the default installation package from YaST installed an old license: AntiVir would not work, and I was getting emails like these at regular intervals:
<br />Date: Thu, 25 Apr 2014 08:57:11 +0200<br />From: Cron Daemon <root@....><br />To: root@....<br />Subject: Cron <root@...> /usr/lib/AntiVir/guard/avupdate-guard --product=Scanner > /dev/null<br /><br />Error: No valid license was found<br />
After searching the web for a while, I found a lot of posts with wrong information, basically coming down to these 2:
hbedv_key (wrong: it is hbedv.key)http://dlce.antivir.com/down/windows/hbedv.keyhttp://personal.avira-update.com/package/peclkey/win32/int/hbedv.keyAt the bottom of the post, you will find a small shell script that I use to keep the hbedv.key up-to-date.
First some more about HBEDV, then how I found about the new download location, and a command to show you the current license information. Read the rest of this entry »
Posted in *nix, bash, Development, Linux, openSuSE, Power User, Scripting, Software Development, SuSE Linux, wget | 3 Comments »
Posted by jpluimers on 2014/04/28
I want to script an install where a service needs to be run as a user. I want to be able to specify the user.
Creating the user is easy through the [Wayback/Archive] NET USER /ADD command.
Specifying the user for the service can also be done: the [Wayback/Archive] SC CONFIG command [Wayback/Archive] allows this (thanks [Wayback/Archive] wmz and [Wayback/Archive] ofiris).
Now the missing link: granting the user the [Wayback/Archive] “Log on as a service” privilege as a [Wayback/Archive] logon right (SeServiceLogonRight). Is there a command for this? Or a simple script for PowerShell?
(I know only Local Service can do this out of the box, and [Wayback/Archive] no other accounts by default are, but I want to have control over the account and what other privileges that account has).
Here is the solution, including a few comments.
The easiest way to do this from a command line is definitely using NTRights.exe from the Windows Server 2003 Resource Toolkit.
ntrights +r SeServiceLogonRight -u jeroen -m \%COMPUTERNAME%
I changed the command-line a bit:
ntrights +r SeServiceLogonRight -u %USERNAME% -m \%COMPUTERNAME%
Note that
whoami /all
doesn’t show any change (not even after a reboot, it does not matter if you run it with or without UAC token).
secpol.msc
does show the change however, and does not require UAC (follow the tree to “Security Settings -> Local Policies -> User Rights Management -> Log on as a service” to see the users having the permission).
–jeroen
via: [Wayback/Archive] Easiest way to grant “Log on as a service” to a Windows user from the command-line? – Super User.
PS: Later I found out it is way easier to query the right:
accesschk.exe /accepteula -q -a SeServiceLogonRight
It will list the users having that right, for instance:
IIS APPPOOLClassic .NET AppPool
NT SERVICEALL SERVICES
VCS-CIContinuaCI
There are similar rights one might want to query:
SeBatchLogonRight SeDenyBatchLogonRight SeInteractiveLogonRight SeDenyInteractiveLogonRight SeServiceLogonRight SeDenyServiceLogonRight SeNetworkLogonRight SeDenyNetworkLogonRight
Thanks [Wayback/Archive] twasbrillig for explaining that at as answer to [Wayback/Archive] powershell – How to view user privileges using windows cmd? – Stack Overflow
Posted in Batch-Files, CommandLine, Development, Power User, PowerShell, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Vista | Leave a Comment »
Posted by jpluimers on 2014/04/27
Reminder to self:
–jeroen
via: C# and VB are open sourced | Fabulous Adventures In Coding.
Posted in .NET, C#, C# 6 (Roslyn), Development, Software Development | Leave a Comment »
Posted by jpluimers on 2014/04/27
At USD 50, this seems like a bargain for Apple I / Apple II lovers.
From the The WOZPAK Special Edition – Overview page:
In 1978, The WOZPAK was a 300 page technical manual produced by Apple Pugetsound Program Library Exchange. The poor resolution of copy machines and fax machines of the era made The WOZPAK an illegible and challenging to use collection of handwritten and typed notes. This collection as a whole was provided to the A.P.P.L.E. by Apple Computer, Inc. co-founder Steve Wozniak and then company president Mike Scott.
…
Thanks to the encouragement of a number of computer industry legends, and the efforts of Apple historians, Brian Wiser and Bill Martens, we now have a completely refurbished and dramatically enhanced version of The WOZPAK. The WOZPAK Special Edition comes complete with the original materials from The WOZPAK and The WOZPAK II as well as some new materials provided by Apple legends from their personal libraries.
–jeroen
Posted in //e, 6502, Apple, Apple Pascal, Apple ][, Assembly Language, Development, History, Pascal, Power User, Software Development | Leave a Comment »