HNHacker News
TopNewBestAskShowJobs

smaccona

120 karma · joined June 26, 2013

submissionscomments
smaccona··on VS Code on a Remote Server
If the reports contain only aggregated or de-identified data (i.e. no PHI) then that is fine.
smaccona··on Incrementally improving the performance of a Python script
Take the trivial example where A is [1, 3, 2, 4]. We can pivot around 2 to get A' = [1, 2, 3, 4], but we can also pivot around 3 to get A' = [1, 2, 3, 4]. So given A', both 2 and 3 are valid pivots.

Edit: in fact, 1 and 4 may be valid pivots too for this example, if empty subarrays are allowed (remember that we don't necessarily know A, so A = [4, 1, 2, 3] with a pivot of 4 will yield the same A' = [1, 2, 3, 4], as will A = [2, 3, 4, 1] with a pivot of 1).

smaccona··on In Ireland, a taste of the underworld
"Cat" in Irish is a masculine noun of the first declension, so the genitive plural for "cave of cats" would be "uaimh na gcat" - it's easier to see the Anglicization then into "Oweynagat".
smaccona··on Is This The Future of The Airline Website?
Have you tried ITA Matrix[1], now owned by Google? It's very powerful, especially compared to the standard travel sites. A good intro can be found at http://www.50by25.com/2013/05/travel-tip-how-to-use-ita-matr....

[1] http://matrix.itasoftware.com/

smaccona··on Tips for nailing an iPhone app demo during a presentation
A workaround using Guided Access can be found at[1]. This is not ideal, but it appears sufficient to prevent alerts etc during a presentation.

[1] http://www.macworld.com/article/2025400/how-to-temporarily-m...

smaccona··on Tips for nailing an iPhone app demo during a presentation
"Do Not Disturb" mode only mutes notifications while the iPhone's screen is locked. The text on the DnD settings page in iOS specifically says "When Do Not Disturb is enabled calls and alerts that arrive WHILE LOCKED will be silenced, and a moon icon will appear in the status bar" (emphasis mine)[1].

I've been bitten by this during a demo: I still received texts (from a co-worker) even though I had DnD enabled.

[1] http://support.apple.com/kb/HT5463

← PreviousPage 3 of 3