Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
judofyr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
781.
▲
by
judofyr
16y ago
Ehm, the logic is right there in the headline: The App Store is slow , so I built App Store Instant
782.
▲
by
judofyr
16y ago
Regardless of the issue mentioned in this article, it could be argued that encrypting cookies, which basically means that you're storing data on a user's computer which the user is not allowed to even look at, is a flawed idea. If the use
783.
▲
by
judofyr
16y ago
I don't know ASP.NET at all, but this is the way I understood the article: If a developer writes a cookie , it's not encrypted and the user can easily change it. Just normal cookies. If a developer writes a session cookie , ASP.NET encryp
784.
▲
by
judofyr
16y ago
I believe the real solution to this problem is to not encrypt the cookies at all, but rather just use HMAC to make sure no-one can tamper with them. If you need to put sensitive data in cookies, you're doing it wrong!
785.
▲
by
judofyr
16y ago
More from Wikipedia (which this version doesn't have): The name LISP derives from "LISt Processing". Linked lists are one of Lisp languages' major data structures, and Lisp source code is itself made up of lists. As a result, Lisp programs
786.
▲
by
judofyr
16y ago
Ehm? Where's the Lisp? This is just Python syntax in S-expressions.
787.
▲
by
judofyr
16y ago
Heh, I've already used the name Handlebars for a Mustache-related project: http://github.com/judofyr/handlebars . It's basically a JIT for Mustache which speeds up rendering. Nobody uses it, though, so I don't mind. BTW: I've written major
788.
▲
by
judofyr
16y ago
Permalink: http://twitter.com/ID_AA_Carmack/status/22739785428
789.
▲
by
judofyr
16y ago
I see your point and I agree that it's possible to make your app gracefully handle exceptions. However, there's no way Rails can automate it for you: you still have to carefully design your app to handle it. If Rails can help you make it e
790.
▲
by
judofyr
16y ago
The authentication / authorization was merely an example, and I agree that most of these solutions are done before rendering occurs. However, my point is that in order to take advantage of flushing, you want to start sending the HTML as soo
791.
▲
by
judofyr
16y ago
From the post: For Rails 3.1, we wanted a mostly-compatible solution with the same programmer benefits as the existing model, but with all the benefits of automatic flushing And from there he goes on with very specific implmentation detai
792.
▲
by
judofyr
16y ago
In Rack you need to return a body which responds to #each (which yields strings); it doesn't need to return the body all at once: class Dummy def initialize(controller) @controller = controller end def
793.
▲
by
judofyr
16y ago
I’ve been doing some research for this earlier, and my conclusion was: This is very hard , if not impossible, to implement automatically. The main problem is that it’s impossible to handle exceptions correctly without making the whole stac
794.
▲
by
judofyr
16y ago
I like Opplysningskontoret's (a Norwegian version of The Onion) summary: The contents of Wikileaks-founder leaks into Swedish women.
795.
▲
by
judofyr
16y ago
Tim Trilla on 30 Aug 20:31: Why donate to anything in Africa? This is a continent full of people who can’t govern themselves and never will be able to. They have the richest continent of natural resources in the worl
796.
▲
PCI Data Security Standards Rock (video)
(pcisecuritystandards.org)
2 points
by
judofyr
16y ago
|
0 comments
797.
▲
by
judofyr
16y ago
Just on the top of my head: 1. The flip-flop >> s = true >> (1..10).reject { true if (s = !s) .. (s) } => [1, 3, 5, 7, 9] 2. A snake in my Ruby?!? # Works in both Python and Ruby print """Hello
798.
▲
by
judofyr
16y ago
If anyone is interested, here's how you could implement it in Ruby: http://judofyr.net/posts/chained-comparisons.html
799.
▲
by
judofyr
16y ago
That reminds me of Pixel Qi, a display that's a mixture a normal LCD and E-Ink: http://www.pixelqi.com/home
800.
▲
by
judofyr
16y ago
I know that the University of Oslo started on a rather big Groovy project, but after a few months ported everything over to Ruby (not sure if it runs on JRuby though). As far as I remember, they felt that Groovy was a terrible "clone" of Ru
801.
▲
by
judofyr
16y ago
This one is amazing: http://js1k.com/demo/39 (move your mouse to change the colors). This one is also nice: http://js1k.com/demo/12
802.
▲
by
judofyr
16y ago
That reminded me of "How to win at Roulette": http://i.imgur.com/6euVL.jpg
803.
▲
by
judofyr
16y ago
browsers backtracked and reparsed when seeing an EOF inside a script to deal with </script> inside an inline script Correct me if I'm wrong, but it seems to me that in order to detect that the </script> is inside an inline
804.
▲
by
judofyr
16y ago
CNAME anyone?
805.
▲
by
judofyr
16y ago
The point is that Wave is never going to replace email over the night, so in the beginning it's very useful to get an email whenever something interesting happens. As you receive more and more emails, you realize that it's a lot easier to j
806.
▲
by
judofyr
16y ago
Heh, this reminds me of Subversion: branching is easy, the really tricky problem is merging.
807.
▲
by
judofyr
16y ago
1) I've never heard of BigThink.com before. 2) I very often open many links without thinking about which domain it's on. 3) A post's karma will never show below -4, even though the real karma could be way lower.
808.
▲
by
judofyr
16y ago
Yeah, but the whole point is really repeating local variables vs capturing self: # This wouldn't work because it binds the block to Foo, and the @bar # would lookup inside Foo instead of the proper context: Foo.search { bar ==
809.
▲
by
judofyr
16y ago
A quick tips when creating block DSLs in Ruby: def search(&blk) if blk.arity == 1 blk.call(self) else self.instance_eval(&blk) end end # Then the user can decide what he want to u
810.
▲
by
judofyr
16y ago
Isn't that called "dollars"?
More ›