Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
someone13
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
someone13
12y ago
If you don't mind sharing, have you done any research on data layers for React? From what I can see, there seems to be three major schools of thought: the Flux architecture, using Backbone's models, or just writing something cust
32.
▲
by
someone13
12y ago
Do you have the source released somewhere? I'm interested in Rust but haven't really written anything large - I would find it interesting to see what a large project looks like, especially the kinds of problems that come up (like
33.
▲
by
someone13
12y ago
I'd love to hear about how GCs can be useful for hard real-time systems! I was always under the impression that you needed to avoid that kind of stuff, so any links / information you have would be really interesting.
34.
▲
by
someone13
12y ago
Since none of your examples are actually doing the same thing, I'm not sure what you're trying to say here. That being said, I've reformatted the code from the original post below (presented without comment): ----- Haskell (
35.
▲
by
someone13
12y ago
irc.mozilla.org
36.
▲
"hello world" contains Lovecraft quotes
(github.com)
16 points
by
someone13
12y ago
|
2 comments
37.
▲
by
someone13
13y ago
Thanks for the game! Credits don't load on the mirror - I get a 404 on the AJAX call.
38.
▲
by
someone13
13y ago
Not to say whether PHP is in fact a good idea or not, but at least in a statically-compiled language, once you've got a "working binary", however you accomplish that, it will presumably continue to function that same way inde
39.
▲
by
someone13
13y ago
Regardless of all the criticism of the analysis, or whether the analysis is "worth it": this post is a really interesting look into how someone that does photographic forensics professionally operates. I thought it was pretty nif
40.
▲
by
someone13
13y ago
I took yours and lukegb's a bit further - thanks for the inspiration. Probably overkill, though :-P var removeImageByHash = function() { var bad = [525994816]; var canvas = document.createElement('canvas
41.
▲
by
someone13
13y ago
Probably trivial to fix, but: var found = false; $('img').each(function(i, elem) { var e = $(elem); if( e.attr('src') !== '' && !found ) { e.attr("style",
42.
▲
by
someone13
13y ago
Check out Luv - an attempt to use Lua's coroutines to do green threads/fibers, integrated with libuv. https://github.com/richardhundt/luv
43.
▲
by
someone13
13y ago
Actually, AFAIK, Stripe will export your card data to any other provider, if you ask them to.
44.
▲
by
someone13
14y ago
bsnes is now distributed with / renamed to a project called "higan", which is a multi-system emulator. See: http://byuu.org/higan/
45.
▲
by
someone13
14y ago
If I can put my 2c in here... I think that one of the major issues facing conferences is the distinction between professionalism and private life. The way one behaves with good friends is very distinct from how one behaves in a group of st
46.
▲
by
someone13
14y ago
Something else worth noting: the most recent release of PhantomJS actually has an implementation of the Selenium WebDriver protocol, so you can use that, if you wish: http://phantomjs.org/release-1.8.html
47.
▲
by
someone13
14y ago
I can't speak to anything like IP or user agent, but they're not doing anything with cookies. You can put their JS code: https://js.stripe.com/v1/ Into a JavaScript beautifier: http://jsbeautifier.org/ And see that there's no mention o
48.
▲
by
someone13
14y ago
Warning: most of this site is NSFW.
49.
▲
Write More Classes
(lucumr.pocoo.org)
238 points
by
someone13
14y ago
|
145 comments
50.
▲
by
someone13
14y ago
Small nit: the link to the ember.js guides actually goes to the AngularJS guides.
51.
▲
by
someone13
14y ago
Another method that I find isn't used enough: dict.setdefault. Instead of doing this: if 'key' in d: val = d['key'] else: val = d['key'] = 'some default value' You can do this: val = d.setdefault('key', '
52.
▲
by
someone13
14y ago
I believe the reason for this is that it's one of the simplest card numbers that passes the Luhn check: http://en.wikipedia.org/wiki/Luhn_algorithm
53.
▲
by
someone13
14y ago
One thing I always thought would be interesting to do is make it such that the "enforced stylistic" bits of a language were tied to the optimization settings. For example, make warnings not halt the compile on the compiler's equivalent for
54.
▲
by
someone13
14y ago
I clicked "Open link in Incognito Window" on Chrome, and it worked for me without signing in, FWIW.
55.
▲
by
someone13
14y ago
Here's a quick script I whipped up. No warranty, etc. Also, you need OpenCV installed. https://gist.github.com/4476997 OpenCV: http://opencv.willowgarage.com/wiki/
56.
▲
by
someone13
14y ago
Actually, you can do this with Stripe Connect [1]. The end-user signs up with a Stripe account, you get an OAuth key, and can make charges on their account. You can also collect fees on top of any payments [2]. [1]: https://stripe.com/do
57.
▲
by
someone13
14y ago
Yes, totally possible! For example, see MoonScript, a CoffeeScript-like language that compiles to Lua: http://moonscript.org/
58.
▲
by
someone13
14y ago
Do you have a rough set of guidelines for how fast we should request from HN? For a side project, I was thinking of writing something that scraped the HN frontpage and all the associated comment threads every 10 minutes or so, and I'd rath
59.
▲
by
someone13
14y ago
HN has a built-in polling feature. I don't know what the requirements for using it are (I have ~600 karma and can't seem to create it), but I suspect that using that would be a better idea than two solutions.
60.
▲
by
someone13
14y ago
Maybe someone here will know this - is there anything out there that lets one run a Heroku buildpack on a server you control? They seem like really elegant solutions to the problem of shipping around dependencies, and I'd like to be able t
More ›