News for hackers. Stuff that matters.

dteoh

Re:JSON Web Tokens on Monday September 08, 2014 @03:40AM (#8283753)
You can store the expiry time in the token itself. Then it is up to your server to validate that the token is still live. If you need to mass invalidate every token, you change the signing key.
> shuffling a deck of cards in O(1)

How? I'm aware of Knuth shuffle which is O(n) but I can't find anything about constant time shuffling.

> On top of that, what other per-file cross platform encryption options are there?

Boxcryptor is an option, but it is not open source.

Re:Why Chinese Is So Damn Hard (1992) on Tuesday April 22, 2014 @07:28AM (#7626985)
I think the more grammatically correct question sentences would be "kami wa doko desu ka" (as for kami, where is it?) or "doko ga kami ga (ar)imasu ka" (where does kami exist?).

> Which kami I was thinking about is for me to know and you to guess incorrectly.

Well, if you used the kanji then we wouldn't have to guess ;)

Re:Datacoin on Tuesday December 24, 2013 @06:24PM (#6961537)
Less computation power required to store new data.
Re:History of T on Friday November 22, 2013 @06:51AM (#6780295)
PG didn't write this article, Olin Shivers did.
Re:Wuala: Secure Cloud Storage on Monday June 10, 2013 @07:02AM (#5853509)
I use Dropbox with Boxcryptor (https://www.boxcryptor.com/). It creates an encrypted drive/folder using a key of your own choosing.
Re:The Gmail app for iPhone and iPad: version 2.0 on Tuesday December 04, 2012 @08:09PM (#4874326)
I set up Gmail on iOS as an Exchange account and server side searching works for me.
Re:Oracle and the End of Programming as We Know It on Wednesday May 02, 2012 @06:10AM (#3918308)
The Apache Harmony project has been discontinued.
Re:Sparrow for iPhone on Thursday March 15, 2012 @04:46AM (#3707451)
I wonder if they have plans to turn this into a universal app or if we will have to purchase another version for the iPad (not that I'm complaining about paying for a valuable product).
Re:Google Singleton Detector on Friday July 08, 2011 @07:25PM (#2744499)
Enum version:

    public enum Singleton {
        INSTANCE;
    }
Guaranteed against multiple instantiation.

Edit: the class version of the singleton example should also be made final, or I could just extend your class and therefore bypass your singleton restriction.

Re:Monster bundle by Appsumo - $99 for $5k+ services on Wednesday March 09, 2011 @05:58AM (#2304540)
The links from the newsletters also prompts for an email address, which is quite annoying.
Re:I haven't used soap or shampoo in a year, and it's awesome on Wednesday January 05, 2011 @06:22PM (#2073024)
Re:Breaking a WoW addiction on Friday December 31, 2010 @06:17PM (#2056746)
Didn't Blizzard at one point say no one can charge for addons or put in-game directions to donate or pay for the addon? How did Curse manage to get past this?
Re:Lifetime Mixpanel.com Startup Plan - $17 on Tuesday November 23, 2010 @06:06AM (#1933314)
I bought the startup plan some 10 hours ago, sent in an email but never received any follow up.

I've just checked my Appsumo account and see that the startup plan has been downgraded to basic. Will customers after the 1000 mark get anything or are you guys planning to refund?

(I think also think it is wrong of you guys to modify invoices which is supposed to be a record and agreement of a transaction.)

Re:Ask HN: Show me your Half Baked project on Saturday October 23, 2010 @02:52AM (#1822862)
http://hg.dteoh.com/treasuremap

It's a stand-alone version of Swing appframework 1.03's ResourceMap implementation. I didn't want to use their entire framework and also needed a few extra resource loaders.