News for hackers. Stuff that matters.

sourpoi

Re:OpenPGP best practices on Wednesday April 06, 2016 @04:47AM (#11437517)
Regarding expiration, from the article:

  you can always extend your expiration date, even
  after it has expired! This “expiration” is actually
  more of a safety valve or “dead-man switch” that will
  automatically trigger at some point. If you have access
  to the secret key material, you can untrigger it.
..and later:

  If you forget your passphrase or if your private key is
  compromised or lost, the only hope you have is to wait
  for the key to expire (this is not a good solution), or
  to activate your revocation certificate by publishing
  it to the keyservers.
If we respect un-expiration then expiration offers no protection at all against a compromised signing key ..leaving the revocation certificate as our only hope.
Re:Python 3 Features on Monday June 30, 2014 @05:14AM (#7964277)
Slight typo - the sample replacement should read:

  def wat(*args)
    a, b, *args = args
..But I don't see how moving required arguments from the signature to the body (or turning a TypeError into a ValueError) might be useful, or how it differs from the presentation's first advanced unpacking example.
Re:Brackets, a code editor on Saturday February 08, 2014 @03:17AM (#7200664)
Re:UML in Practice on Thursday June 13, 2013 @08:33PM (#5877624)
Of the free GUI tools, BOUML (the old, open v4.21 in Fedora 18) had the best combination of available UML components and editing flow. BOUML was restricted/automated enough to give me the impression that I was describing relations more I was drawing them.

However, at the end of the rainbow I found PlantUML. PlantUML renders nice graphs using a GraphViz/Dot-like language and affords all the benefits of being plain text - revisions are intelligible, syntax is highlightable, and edits flow at the speed of Vim.

http://plantuml.sourceforge.net/

Re:The most useful thing in bash on Wednesday April 17, 2013 @06:50PM (#5567846)
I don't use fish for shell scripting, but I'm enjoying it as my primary environment after making these adjustments..

Status codes and argument lists:

    $status  # replaces $?
    $argv    # replaces $@
Aliases are just functions (configure your startup in ~/.config/fish/config.fish):

    # alias ls="ls -lrth"
    function lr; ls -lrth $argv; end
For-loops are familiar:

    # for n in one two three; do echo $n; done
    for n in one two three; echo $n; end
The lack of '!$' confounded my hard-wired fingers until I settled on Alt-u to avoid up-arrows (see /usr/share/fish/functions/fish_default_key_bindings.fish):

    bind \eu history-token-search-backward  # replaces !$
    bind \ei history-token-search-forward   # bonus fun
The remaining price for fish's pseudo-telepathic assistance is the occasional frustration with applications that rely on the value of a user's default shell (/etc/passwd).
Re:World’s First Pirate ISP Launches In Sweden on Tuesday July 20, 2010 @06:20PM (#1533656)
Agreed, with a minor refinement:

Robin Hood taxed the tax men ("Robin Hood," Disney, 1973). It was less a matter of rich vs. poor than of beneficiaries vs. victims of oppressive taxation (similar mechanics, opposite direction). The GPL attempts to use the weight of copyrights in general as leverage against abusive copyrights.

The easier it is to find "stolen" credit card numbers, the easier it is for legitimate services to protect against their misuse (analgous to vulnerability disclosure).