Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smrq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
301.
▲
by
smrq
10y ago
Off topic at this point, but I can at least try and answer your question from my perspective. Let's say you're building some software and you're looking for libraries to ease the burden of how much you have to write yourself.
302.
▲
by
smrq
10y ago
Does anyone know of something similar for TypeScript?
303.
▲
by
smrq
10y ago
Just don't fall into old habits without thinking and end up writing... enum MyEnum { MyEnum_Foo = 1 << 0, MyEnum_Bar = 1 << 1, MyEnum_Baz = 1 << 2, MyEnum_Quux = 1 << 4,
304.
▲
by
smrq
10y ago
Coming from an audio background, this explanation clicked immediately. You can't determine anything about frequency from a single audio sample. And conversely, you can't determine anything about signal phase from a frequency spe
305.
▲
by
smrq
10y ago
> Now we need a technical writer, to handle API documentation etc. Sorry, but you've already lost me there. That's firmly in the "nice to have" camp. For example: the documentation on Sublime's API is shoddy at b
306.
▲
by
smrq
10y ago
True or not, that's a decent mnemonic.
307.
▲
by
smrq
11y ago
I was fortunate enough to take both his compiler course as well as a follow-up course involving optimization and hygienic macros. Brilliant man, fantastic teacher, and of course, he wrote a great compiler :)
308.
▲
by
smrq
11y ago
I love ST, but the hotkeys are so different between Windows and Mac and it drives me up the wall. I feel like I'm abroad in the UK and now fries are chips, chips are crisps, crackers are biscuits, Ctrl+H is Cmd+Shift+F, etc... It real
309.
▲
by
smrq
11y ago
Ultimately, isn't this just saying "currying might be great if it was syntactically different from function calls"? JSX is just a hack to make that happen with today's JavaScript tech... It feels like a red herring to fo
310.
▲
by
smrq
11y ago
I feel like C++ has turned into programming language Katamari Damacy. I wonder what it will look like when it rolls up Lisp?
311.
▲
by
smrq
11y ago
While that's half-true, compare ES3 to ES2015, or DHTML to HTML5.
312.
▲
by
smrq
11y ago
Terrific data (okay, so it confirms a preexisting bias on my part). I would like to see the numbers for Visual Studio -- I've completely sworn it off at my day job in favor of Sublime Text + command-line MSBuild, for typing latency al
313.
▲
by
smrq
11y ago
$yourFavoriteLanguage already has a mechanism for chunking. They're called functions. (Okay, so if $yourFavoriteLanguage is CSS, maybe not.)
314.
▲
by
smrq
11y ago
> to try out ten different solutions in ten different states Interesting, I never quite thought about it in these terms. If you squint at it right, it's almost like A/B testing laws.
315.
▲
by
smrq
11y ago
I don't think Feynman would have disagreed with that.
316.
▲
by
smrq
11y ago
That's amazing-- I had both read that book and seen a few of his appearances on Numberphile, but I never connected the two. This same phenomenon happened to me not long ago actually, when I discovered that two of my all-time favorite b
317.
▲
by
smrq
11y ago
Some boardgamers know this as "analysis paralysis", and for such individuals it often points us towards games that have fewer, grander choices as opposed to a thousand minor choices that add up to a grand choice.
318.
▲
by
smrq
11y ago
Can you explain what you mean a bit more? My experience with React is that composing components is so trivial (particularly compared to e.g. Angular directives) that I've tended to end up with very small view files (~10 lines of DOM m
319.
▲
by
smrq
11y ago
That's really cool. Worth noting that it's an ES7 proposal rather than part of ES6, so you get it with Babel but not native ES6, or e.g. TypeScript.
320.
▲
by
smrq
11y ago
Well, until you have any tasks other than bundling assets, and need a task runner again.
321.
▲
by
smrq
11y ago
Let's say you have a widget that you want to control via a web interface. A Pi is an easy way to interface between the web and lower level hardware (via GPIO). Startup time is the time from when you plug in power for your widget unti
322.
▲
by
smrq
12y ago
> I've rarely found a game with that same level of quality that got no attention If such a game got no attention... how would you find it?
323.
▲
by
smrq
12y ago
The biggest benefit of Typescript in my opinion is the potential for stronger tooling. There's definitely room for improvement (I suspect type unions would fix a majority of the times you are forced to use "any"), but I have
324.
▲
by
smrq
12y ago
Yeah, it reminds me mostly of the MediaWiki outgoing link icon, which is used as an "exit sign".
325.
▲
by
smrq
12y ago
> Rain is simulated with a bunch of very short walls in random places. This made me laugh. I would have never thought of that way of doing it, but before I knew how it was implemented, I didn't even notice! That's a pretty go
326.
▲
by
smrq
13y ago
I feel like every time I get deep enough into a topic of mathematics, Gödel inevitably shows up to say, "things beyond this point are provably unprovable!" It's simultaneously vexing and fascinating.
327.
▲
by
smrq
14y ago
It's still not exactly the same, though. I think the point the article makes is that by appending comments to the end of an article, you take away some important personal processing time. While you're navigating to tvtropes, you're still
328.
▲
by
smrq
14y ago
Very cool! Is it just me, or has the web kind of gone full circle?
329.
▲
by
smrq
15y ago
This would be funnier if it didn't violate Kickstarter's project guidelines.
330.
▲
by
smrq
15y ago
"not quite as rapey as what you might expect of, say, a typical S&M scene" I'm disappointed that an article purportedly aimed at dispelling misconceptions about pornography would so shamelessly perpetuate misconceptions about BDSM.
More ›