Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
couchand
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
931.
▲
by
couchand
9y ago
I think a lot of HOC libraries were designed assuming decorators would be standardized soon. The connect method from react-redux is definitely in that camp: @connect(mapStateToProps, mapDispatchToProps) class Component extends React.
932.
▲
by
couchand
9y ago
This technique is very useful, but passing the callback as a prop is an ugly way to do it. Much cleaner to pass the callback as children [0]. Then, the final example looks like: <Mouse> {({ x, y }) => ( <h1>The
933.
▲
by
couchand
9y ago
Well generally typeface size is measured from the top of a capital letter (cap height) to the lowest point of the descenders, regardless of the units used for measurement. And you don't even have to get to antialiasing and hinting to s
934.
▲
by
couchand
9y ago
What about the rest? Does it matter how tall the elements are? My point is just that, as described, your problem is woefully underspecified.
935.
▲
by
couchand
9y ago
What's the correct order of elements?
936.
▲
by
couchand
9y ago
I'm assuming from context that you're referring to lists of very specific, well-known things, such as documents someone might need to bring to an office (form 232, id card, etc.). That's a very specific use case where a chec
937.
▲
by
couchand
9y ago
Well, from the OP: > Gothamist, on the other hand, was profitable...
938.
▲
by
couchand
9y ago
> JSX is just JavaScript No, it's not. It's the bastard child of XML and JavaScript. I agree that your examples are about the best you can do with JSX. But actually just JavaScript is much easier: render() { return B
939.
▲
by
couchand
9y ago
OTOH, the Gothamist was profitable, so what does that mean?
940.
▲
by
couchand
9y ago
I didn't understand the rationale of redux-loop, and I don't understand this one's either. Reducers are nice and simple, why go muddying them up with side-effects? There are already two good places to put side-effects in red
941.
▲
by
couchand
9y ago
As a regular reader of Gothamist, I was very disappointed to hear that they were shutting down. At first, it seemed like so many other stories I've heard: a plucky crew working hard to produce solid journalism getting taken down by th
942.
▲
by
couchand
9y ago
I hope they do. This is why the commerce clause exists, it's about time someone gets around to showing that the 21st amendment's override is bogus.
943.
▲
by
couchand
9y ago
I think your information is incomplete or out of date. Do you have a source other than the Jepsen blog? That seems to make clear that the two issues that were found in the tested beta release were quickly resolved. [0] [0]: https:/&
944.
▲
by
couchand
9y ago
Holy cow the site takes forever to load, the demo takes forever to load. I hope that's not representative of actual use, but I wasn't patient enough to wait and find out.
945.
▲
by
couchand
9y ago
Yes, that's true abstractly. However, A, those sorts of references are much less common in web pages than in physical descriptions (at least in my estimation) (though they're very common in APIs), and B, those repointable referen
946.
▲
by
couchand
9y ago
Ugh so sorry about the navel gazing self nit, but *principal. Whew that was bothering me.
947.
▲
by
couchand
9y ago
I have no problem with someone writing their own state management framework after forgetting or before learning the hard lessons that drove the design of Redux, particularly if it's easier to use for people just getting in to web devel
948.
▲
by
couchand
9y ago
Yes you're technically correct (the best kind of correct). But I'd argue that if you're developing a Redux app without Redux Dev Tools you're doing it wrong, and Redux Dev Tools does indeed store the original sequence o
949.
▲
by
couchand
9y ago
It sounds like you have the right sensibility, so you're well on your way! Taste is the hardest thing to develop, clearly articulating the rationale behind it just takes practice.
950.
▲
by
couchand
9y ago
I'm just gonna say I don't think this is a good idea for any real project. In my mind the single best thing about Redux is the use of event sourcing for all application state changes. Get rid of that, and you lose most of the be
951.
▲
by
couchand
9y ago
You say that 10-100ms of CPU time on the hot path of your requests isn't nuts, but we'll just have to agree to disagree about that.
952.
▲
by
couchand
9y ago
> Filenames are just labels that we stick on a logical chunk of information. Implementation details can differ, but the concept itself is not going anywhere as long as humans like to put stable labels on mutable things. This is the point
953.
▲
by
couchand
9y ago
It's not evil it's just dumb. If your workload is CPU bound you probably shouldn't be running it in Node.js.
954.
▲
by
couchand
9y ago
It's probably worth noting that Kindred operates in a highly-regulated industry, which may affect the wisdom of making many decisions based on trust.
955.
▲
by
couchand
9y ago
Why does this link to a fork that seems to be identical to the original? Would the mods please update the link to the source: https://github.com/brain-labs/brain
956.
▲
Sailfish X program roll out starting
(blog.jolla.com)
2 points
by
couchand
9y ago
|
0 comments
957.
▲
by
couchand
9y ago
To answer just one of your questions, many commands have a patch mode as -p. At this point I rarely just git add, it's always git add -p. A side benefit is that you get a chance to review your own code, make sure you cleaned everythi
958.
▲
by
couchand
9y ago
I tried to go get your project, but got a bunch of "unrecognized import path" errors. Looks like you're pulling a dependency off of IPFS, do I need to set something up for that to work correctly?
959.
▲
by
couchand
9y ago
Well, here's a recent one, for example: https://www.armis.com/blueborne/#/devices
960.
▲
by
couchand
9y ago
It seems you're unfamiliar with the litany of frequent bluetooth vulnerabilities? Not to mention the power-saving advantages of turning off wireless radios. Perhaps reversing this decision alone would allow the iPhone battery to last
More ›