Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
STRML
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
301.
▲
by
STRML
11y ago
One optimization I do often - don't load the FB scripts until someone actually hovers over an FB like button or share box. 99.9% of the time, they never do. In the meantime, just mock the look of the button. We even mocked the like cou
302.
▲
by
STRML
11y ago
Cool project! Seems like its capabilities are somewhat similar to Hammerspoon, an OS X project where you can script almost anything in the OS with Lua. I believe it was forked from Mjolnir. I use it for window management (which is it awesom
303.
▲
by
STRML
11y ago
I built a service for this a few years back - it encrypts and decrypts on each side, all in JS. It's pretty quick with web workers. https://securesha.re
304.
▲
by
STRML
11y ago
Unfortunately you can't reliably do that without Flash.
305.
▲
by
STRML
11y ago
More WebRTC p2p services like this: https://reep.io/ https://rtccopy.com/ And my favorite, https://www.sharefest.me/
306.
▲
by
STRML
11y ago
This is a nice simplistic implementation for basic apps but could lead to a painful rewrite if you start integrating languages with significantly different grammar constructs than your home language. If you're really serious about inte
307.
▲
by
STRML
11y ago
Paywalled. This is more or less the same content, different author though: http://www.nytimes.com/2015/07/27/business/fiat-chrysler-fac...
308.
▲
by
STRML
11y ago
HAProxy 1.5 does a pretty great job with that stuff now. I agree that the configuration syntax can be difficult but it is very powerful. There are some limitations of course, and I can see why you might want to use nginx for some routing. O
309.
▲
by
STRML
11y ago
Same here. Late 2013? Exact same problems, somewhat mitigated in Yosemite (fewer complete crashes) but still the occasional garbled screen or inability to switch to dGPU. Weirdest problem: can't start up the MacBook (physically) cold w
310.
▲
by
STRML
11y ago
+1 for Primus. We moved to it on BitMEX from a custom SockJS + Mux-demux setup and the transition was painless. We now get the ability to change transports based on client (so our API clients get the very fast standards-compliant node `ws`
311.
▲
by
STRML
11y ago
I've submitted a fix for this in react-mixin here. https://github.com/brigand/react-mixin/pull/22
312.
▲
by
STRML
11y ago
It's just a nice way to split up concerns. In React-Router-Component, the RouterMixin [1] mixes in the Environment Mixin [2] which allows the Environment to address its own concerns in a separate file and to be included in other, custo
313.
▲
by
STRML
11y ago
We have a few rather complex mixins in React-Router-Component and react-mixin's decorators worked just fine [1]. The only limitation I see now is a mixin that defines more mixins; this currently doesn't work, but there's no r
314.
▲
by
STRML
11y ago
I am not sure it is so bad there. I lived in HK from 2013-2014 and the pollution was bearable. About 60-120 on the AQI scale (PM2.5)[1]. By US standards that's orange/red (bad) but you get used to it. In comparison, Beijing is rou
315.
▲
by
STRML
11y ago
The Firefox/native version of the page works much better than the jQuery version. Both are a little bit janky with touchpad scrolling, but the native version allows you to scroll to the next page before waiting for the animation to f
316.
▲
by
STRML
11y ago
Glad to see discoveryd is toast. That's a big win and hopefully it's a symptom that some manager on the OS X team is starting to notice how sloppy development has gotten in the last few years. On a related note, how insane is it t
317.
▲
by
STRML
11y ago
This is a very well-written piece and I really enjoyed reading Jorend's analysis of "Open" vs "Close" hash table performance [1] linked in the article. All four of these collection types are sorely needed in JS and
318.
▲
by
STRML
11y ago
If you want a better solution on OSX than you already have, try https://github.com/codekitchen/dinghy - it does a really great job of wrapping Vagrant and taking care of setting up NFS instead of the incredibly slow de
319.
▲
by
STRML
11y ago
Unfortunately, even though my MBPr exhibits exactly those issues, it is a Late 2013 model so it doesn't qualify.
320.
▲
by
STRML
11y ago
I own a 2014 MBPr with the Nvidia chip and I'm thinking the AMD chip would be a big improvement. I see major visual artifacts whenever the GPU switches, it locks up frequently, and external monitors rarely work. Maybe a bad chip, actua
321.
▲
by
STRML
11y ago
Features, I suppose. Bluebird has many more helpers than the spec, and it may actually be faster than the first round of native Promises. We'll see how it evolves.
322.
▲
by
STRML
11y ago
Great article; a few things I would add. I use bluebird for Promises, which is just the most fantastic Promises lib ever conceived, no joke; if you haven't used it try it. So some of these may be Bluebird-specific: 1. Don't wrap c
323.
▲
by
STRML
11y ago
It's my initials, plus my the initials of both my grandparents' last names. Plus, who doesn't like ML?
324.
▲
by
STRML
11y ago
What a shock to see this on here - it got crossposted to Reddit too and blew up. So did my inbox. Thanks to all of you who had kind words about this project, and thanks to Jake Albaugh ( http://jakealbaugh.com/ ) who inspired
325.
▲
by
STRML
11y ago
Thanks for the heads up - just a bad link. There's no SSL on the blog.
326.
▲
by
STRML
11y ago
This is the right answer. This will effectively keep React from touching the element ever again after the initial render.
327.
▲
by
STRML
11y ago
Hey Animats - Sam here, CTO of BitMEX. We don't assume that anyone suffering a big loss can or will pay up - instead we proactively take steps in real-time to liquidate traders in a controlled manner to ensure that no trader can reach
328.
▲
by
STRML
11y ago
Hey - Sam here, CTO of BitMEX. We aren't a spot market, we are derivatives only. So if you are shorting Bitcoin futures, someone else is going long on Bitcoin futures; you never take a position against the exchange itself. Therefore al
329.
▲
by
STRML
11y ago
If all a domain-validation SSL cert means is that the certificate issuer could reach you via admin/administrator@domain.com - that's nearly all they do, besides ask for some payment information - why not automate that part of the
330.
▲
by
STRML
12y ago
Hey, I think I met you there, was with my buddy Kevin (looks like an Asian version of Hurley from Lost). Kohub and Lanta was a blast. Hope to see you there next year too.
More ›