Recent submissions

Comment · 8 years ago
Edge didn't have extensions when it first came out, but it does have them now, including: uBlock, Adblock, LastPass, RES, Tampermonkey. Still nowhere near what Firefox or Chrome has though.
Comment · 8 years ago
Comment · 9 years ago
Looking at 200 years as 20 generations ignores the fact that grandparents can speak directly to their grandchildren, or that people have children past 20 years of age. President John Tyler was in his mid 20s during the Battle of Waterloo, and his grandchildren are still alive - so only 2 generations removed from someone contemporary to that event.
Comment · 9 years ago
Comment · 10 years ago
The issue with "Start-VM -name <TAB>" is not an issue with Powershell itself, but with the Start-VM cmdlet; the Start-VM cmdlet could have been designed to complete from the list of VMs.
Comment · 10 years ago
What power was stripped? Cmd.exe is still there.
Comment · 10 years ago
If you type: dir -<Ctrl+Space> PowerShell will list all available parameters below, and allow you to tab through them.

The tab completion is not static either. If you type: ps <Tab>, it will tab through all the current processes.

Comment · 11 years ago
I saw it as white and gold originally, but later when I looked at it I had scrolled down the page so that the top part of the picture was hidden, and I saw the dress as blue and black.

Now I see blue and black if I view the whole image or bottom 2/3rds of the image, and white and gold when viewing the top 1/3rd of the image.

Comment · 12 years ago
Comment · 12 years ago
I use a bookmarklet that comes in handy in cases like this:

  javascript:(function()%7Bfunction callback()%7B(function(%24)%7Bvar jQuery%3D%24%3B%3B%24('*').on("contextmenu"%2C function(evt) %7Bevt.preventDefault()%3B%7D)%3B%24('*').mousedown(function(evt)%7Bif(evt.which%3D%3D%3D3)%7Bevt.srcElement.remove()%3B%7D%7D)%7D)(jQuery.noConflict(true))%7Dvar s%3Ddocument.createElement("script")%3Bs.src%3D"https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.7.1%2Fjquery.min.js"%3Bif(s.addEventListener)%7Bs.addEventListener("load"%2Ccallback%2Cfalse)%7Delse if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()
After clicking the bookmarklet, you can right-click on any element to remove it.
Comment · 12 years ago
Thanks, I see where I was wrong now.

In this case when finding the last match from the end, would the lazy quantifier reduce backtracking? e.g. /(\d)\D*?$/

Comment · 12 years ago
This is not the same as finding the last match though. The parent's example will match '2' in '1 of 2 steps.'
Comment · 12 years ago
Comment · 12 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton