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,862 other subscribers

Archive for 2015

Linking commits to issues and issues to issues on BitBucket (via: Resolve issues automatically when users push code – Bitbucket – Atlassian Documentation)

Posted by jpluimers on 2015/08/13

Besides commit statements from hg or git like this:

hg commit -m “fixes , resolve ticket and see ticket and ticket in the tracker”

The best is to start with the command, then finish the comment (commands in the middle of a comment are far less reliable).

There is a whole bunch of commands for which BitBucket tries to understand conjugations of verbs:

Command “Verb” Conjugation(s)
resolve close close
closes
closed
closing
resolve fix
fix
fixed
fixes
fixing
resolve resolve resolve
resolves
resolved
resolving
reopen reopen reopen
reopens
reopening
hold hold hold
holds
holding
wontfix wontfix wontfix
invalid invaldate invalidate
invalidates
invalidated
invalidating

You can also use the word “issue” in the middle to just link to an issue like this syntax:

links to issue

Finally, you can refer from issues to change sets using a cset syntax: <<cset 2f2f8d4cae7da0e37a5ffbc81c527cb67cc56015>> where the hex number is from a URL in your commit list (for instance in https://bitbucket.org/jeroenp/fastmm/commits)

Note that linking from changesets to issues often automatically creates a back-link, but that doesn’t always work, and fixing it has very low priority (like many things on BitBucket): Issues getting linked to commits have the wrong link syntax, they show BB-6232 — Bitbucket.

–jeroen

via:

Posted in BitBucket, Development, DVCS - Distributed Version Control, git, Mercurial/Hg, Source Code Management | Leave a Comment »

How to reopen a closed branch in Hg/Mercurial – via: Stack Overflow

Posted by jpluimers on 2015/08/12

Thanks to the answers and comments on stackoverflow, here are my steps to resurrect a closed hg branch:

  1. List all branches (including closed ones)
    • hg branches --closed
  2. Switch to a closed branch
    • hg update my_closed_branch_name
  3. Change anything
    • For instance by adding a tag, as that is considered a versioned and mergeable change)
      • hg tag reopened_my_closed_branch
    • Or making a change to a file, then ommit your changes
      • hg commit -m "I changed a message"

This works because of what Lazy Badger explained in another answer which summarised is:

A commit on top of a closed head effectively opens the head.

Note: if you while experimenting with this, you want to undo your last change before committing, perform this command to revert back one revision:

hg update -C -r .

The answers and comments (thanks Lóránt Pintér for asking the question):

Tim Delaney:

You can just hg update to the closed branch then do another hg commit and it will automatically reopen.The closed flag is just used to filter out closed branches from hg branches and hg heads unless you use the --closed option – it doesn’t prevent you from using the branches.

Francis Upton:

The commit won’t do anything unless there is something to actually commit, so you may need to make a gratuitous change to make it happen.

lorddev:

A tag is sufficient to make it commitable.

–jeroen

via: Is it possible to reopen a closed branch in Mercurial? – Stack Overflow.

Posted in Development, DVCS - Distributed Version Control, Mercurial/Hg, Source Code Management | Leave a Comment »

Alex Micu on Twitter: “PDF becomes 4th most popular religion”

Posted by jpluimers on 2015/08/12

Friday fun: Alex Micu on Twitter: “PDF becomes 4th most popular religion”.

PDF becomes 4th most popular religion

PDF becomes 4th most popular religion

–jeroen

Posted in Fun | Leave a Comment »

Fuzzing in addition to Unit Tests – via: David Millington G+

Posted by jpluimers on 2015/08/11

I need to give this link from Jonathan Lange which was shared by David Millington some thought:

Embedded in Academia : How to Fuzz an ADT Implementation.

There they add fuzzers to help testing an ADT: in this case an Abstract Data Type in the form of  a red-black tree.

And then see if it can be added to DUnit and NUnit or MSTest/VSTest in some way.

In the original post by Jonathan Lange, an important remark was made by Eric Castelijn:

… the downside being that having non deterministic tests means having test failures that are hard to repeat

When fuzzing multiple or composite values, the chances that you will hit interesting edge cases semi-reliably will drop dramatically, in my experience

–jeroen

via “This post has two points. First, you should write ADT fuzzers. It is often….

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | 2 Comments »

Oops: Exception 14 in world – ESXi 5.1

Posted by jpluimers on 2015/08/10

Need to figure out if VMware KB: VMware ESXi 5.1, Patch ESXi510-Update02: ESXi 5.1 Complete Update 2 indeed solved the issue below as it seems to beVMware KB: VMware ESXi 5.x host experiences a purple diagnostic screen mentioning E1000PollRxRing and E1000DevRx:

VMware ESXi 5.1.0 [Releasebuild-1065491 x86_64]
Exception 14 in world 8194:idle2 IP 0x418017779c226 addr 0x0
...
PTEs:0xnnnnnnnn;0xnnnnnnnn;0x0;
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]E1000PollRxRing@vmkernel#nover+ 0xdb9 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]E1000DevRx@vmkernel#nover+0x18a stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]IOChain_Resume@vmkernel#nover+0x247 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]PortOutput@vmkernel#nover+0xe3 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]EtherswitchForwardLeafPortsQuick@#+0xd6 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]EtherswitchPortDispatch@#+0x13bb stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]Port_InputResume@vmkernel#nover+0x146 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]Port_Input_Committed@vmkernel#nover+0x29 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]E1000DevAsyncTx@vmkernel#nover+0x190 stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]NetWorldletPerVMCB@vmkernel#nover+0xae stack: 0xnnnnnnnnnnnn
0xnnnnnnnnnnnn:[0xnnnnnnnnnnnn]WorldletProcessQueue@vmkernel#nover+0x486 stack: 0xnnnnnnnnnnnn 
Debugger waiting(world 8194) -- no port for remote debugger. "Escape" for local debugger.

Read the rest of this entry »

Posted in ESXi5.1, Power User, Virtualization, VMware, VMware ESXi | Leave a Comment »

#3FM LIVE niet zo heel live… Even geen Giel. Iemand die een HTTP live stream URL van de audio weet?

Posted by jpluimers on 2015/08/10

Even geen Giel. Iemand die een HTTP live stream URL van de audio weet?

G+ antwoord van Roderick Gadellaa:

via Even geen Giel. Iemand die een HTTP live stream URL van de audio weet?.

Read the rest of this entry »

Posted in Fun, LifeHacker, Power User | 1 Comment »

HTML Cleaner – (not only) Word to clean HTML

Posted by jpluimers on 2015/08/10

A great on-line way to cleanup html (from for instance style information) before publishing it on your blog: HTML Cleaner – Word to clean HTML.

One of the things is does is Remove inline styles.

Ideal for copy-pasting a quote from a web-site to your HTML editor.

–jeroen

via: www.html-cleaner.com

Posted in Development, HTML, HTML5, Power User, SocialMedia, Software Development, Web Development, WordPress | Leave a Comment »

New feeds for Dilbert, Penny Arcade, W.T. Duck

Posted by jpluimers on 2015/08/09

Now that Yahoo Pipes is stopping, Chris Bernard rewrote his Dilbert/Penny Arcade/W.T.Duck feeds and published source on GitHub: https://github.com/cbenard/comicfeeds/

Feeds

If you use Feedly, and some (or all) pictures don’t show up for the Dilbert feed, then that is because of Feedly caching content. Use a parameterised URL fixes this: http://comicfeeds.chrisbenard.net/view/dilbert/default?something=something

–jeroen

Posted in Blogging, Fun, Power User, SocialMedia | Leave a Comment »

Ethernet Adapter for Chromecast – Google Store

Posted by jpluimers on 2015/08/08

As a reminder for self, order when I’m back in the USA: Ethernet Adapter for Chromecast – Google Store.

Posted in Chrome, Chromecast, Google, Power User | Leave a Comment »

Blast from the past: the digital highway as imagined circa 1995.

Posted by jpluimers on 2015/08/07

Blast from the past: the digital highway as imagined circa 1995 (thanks Kristian Köhntopp for sharing this a while ago).

Learned a new phrase too (handfeste Datenträger) for something a marching band friend of mine was involved in: before he suddenly passed away at 39 he was a “high bandwidth courier” giving meaning to the phrase by Tanenbaum “Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway” by driving around magnetic tapes and optical media between various locations for about 600+ km a day.

Who could imagine in the age where ISDN at home (@ 64 kibit/s) was fast, that 20 years later you could have fiber (@ 500 Mibit/s) at home both for like EUR 50/month.

Like Steve Streeting posted: having high bandwidth (relative to the time you live in) makes you stop thinking about your internet speed

It allows you to find new usage patterns. Which is good for imagination, work, etc.

–jeroen

PS:

I lied a little. EUR 50/month is for the subscription only. Nowadays that means a permanent connection. In the ISDN days having a permanent connection to an ISP would set you down another EUR 50/month for the ISP, and about EUR 600/month of data usage to the telecom provider.

I did that for a couple of years until cable and ADSL became available. Why? Because it was the fastest way to stay informed (gopher, newsgroups, mailing lists, early forums and web-sites) and get the latest software (mainly over FTP).

Imagine this was only years after not even HCC being able to sustain the costs of a Fidonet transatlantic link, and now two decades later. I’ve posted about Fidonet before, and back-then it was the most affordable way to access information from across the world.

Now less than a century after the first transatlantic phone service was established in 1927, world wide communication is almost free (and there is even internet in space).

PPS:

Swets – where my friend worked for filed for bankruptcy last year. No more high bandwidth couriers…

via:

Posted in BBS, FidoNet, History, Infrastructure | Leave a Comment »