Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zachrose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
211.
▲
by
zachrose
8y ago
I’m sympathetic to this point of view, but I find lodash to be too huge of an API. Most of the collection methods can be done as a small _.reduce, and I find the many method names and subtle distinctions to add more trivia than they remove.
212.
▲
by
zachrose
8y ago
Flipping your problem around, is it hard to find developers who can be productive in Django/Python? I don't know. It's a question with all kinds of sub-questions: - Is your expectation that any Django/Python developer wi
213.
▲
by
zachrose
8y ago
In the pattern of LAMP/MEAN/etc: - Linux - Nginx - Postgres - Ruby (when I want all the Rails stuff) or Nodejs (when I don't) - Elm (for anything app-like or Ajaxy in a browser) - Utility classes for CSS (Tachyons or similar)
214.
▲
by
zachrose
8y ago
Here's what I don't get. Why isn't Math.expm1 just implemented in JavaScript? Math.expm1 = (x) => Math.pow(Math.E, (x)) - 1; With this monkey patched version, Math.expm1(-0) now returns 0. I've been writing J
215.
▲
by
zachrose
8y ago
Yes, hyper-empirical is exactly right. I totally don't know what caused the bigger creek in Big Bend or how that relates to the larger climate. I was hoping Hacker News would chime in with exactly this kind of analysis.
216.
▲
by
zachrose
8y ago
I was on a road trip throughout a lot of different parts of America last month. A park ranger in Big Bend told me that a tributary creek of the Rio Grande was a hundred feet wide, when normally you can just jump over it. A lakeside highway
217.
▲
by
zachrose
8y ago
> The question is, should the logic be in the central core of the application, or should it be spread around among the components? There are probably many such questions and at this point we’re trying to solve a problem that may not exis
218.
▲
by
zachrose
8y ago
> How would you know which way of writing React will be less painful, or what questions you need to ask yourself regarding the architecture of your app? Without keeping track of what's going on in the community, how will you make in
219.
▲
by
zachrose
8y ago
Ok that’s something else then. I thought we were just talking about crafting a program that accepts user input (sensical or otherwise) and draws the right graphics on a screen. If you want a complete cybernetic framework to model the player
220.
▲
by
zachrose
8y ago
> The human input depends on the intermediate state, where the file input does not. Not sure what you mean by “depends” here. If I’m at a game controller I can smash buttons for years without caring what the state of the game is. It’s up
221.
▲
by
zachrose
8y ago
But we can imagine a program that reads a file byte-by-byte and where some internal state of the program changes depending on those bytes. This program could even exit when given three “#” characters, which might mean you need an internal c
222.
▲
by
zachrose
8y ago
Not just UI, this goes all the way to the data model.
223.
▲
by
zachrose
8y ago
At the risk of inciting a flame war that I might not be able to understand, is there any way to characterize current fusion projects against each other? For example, what can be said about the promise of ITER vs Wendelstein 7-x? Part of me
224.
▲
by
zachrose
8y ago
Look around for an exhibition of his work. It can make a big difference to see his prints and paintings at full size and in person. Also, he made so many different kinds of work that are so different than the iconic images that he’s most kn
225.
▲
by
zachrose
8y ago
It would be cool if there was a webpage for “Is your function ______?” with a list of things that functions can be: - Roundtrip-able (reversible?) - Pure - Effectful - Mutation-doing - Idempotent/Nullipotent - Algebraically closed over
226.
▲
by
zachrose
8y ago
I’ll bite, what did Deming say about this kind of thing?
227.
▲
by
zachrose
8y ago
The only rule is no splitting the bill
228.
▲
by
zachrose
8y ago
As an example, it means you’ll never be off by a pixel here and two pixels there. You’ll be off by, say, five pixels or ten pixels instead. Your mistakes will be obvious and easy to fix. It’s the difference between working with Lego and wor
229.
▲
by
zachrose
8y ago
Agreed with both of you, and using an exchange rate at a specific point in time actually could make deferring that calculation even more of a sound idea, depending on the exact semantics of what you’re computing. At larger scales even excha
230.
▲
by
zachrose
8y ago
In the lazy version i have suggested, the exchange rates are deferred until you “need to know” and the sum is converted into a concrete currency. If you’re keeping these values around in memory for an extended period of time time and you ca
231.
▲
by
zachrose
8y ago
Using Elm, even a little bit, has given me a perspective on what a different language can do in the browser. If you subscribe to Gary Benhardt’s Capability/Suitability theory of programming history [1], JavaScript is the highly capable
232.
▲
by
zachrose
8y ago
I wish you could add different currencies together: Dinero({amount: 5000, currency: 'USD'}) .add(Dinero({ amount: 1000, currency: 'EUR'})) ...and then convert that sum to a concrete currency later. This fe
233.
▲
by
zachrose
8y ago
Yes, this very much describes my experience of working on a gigantic Backbone app while using Elm at home. Work has gotten harder because I’m (rightfully) paranoid about mutation and unable to trust the (fallible) conventions of OO JavaScri
234.
▲
by
zachrose
8y ago
One intuition I’ve had while learning Elm is that it’s a fundamentally simpler language with a smaller number of concepts to learn than JavaScript. In this list of 33 JavaScript concepts, I count 11 that either do not exist in Elm or, like
235.
▲
by
zachrose
8y ago
The code itself wasn't the hardest part, it was understanding all of the things that your code is ultimately talking to: databases, web browsers, HTTP, etc. Each of these has both a vast encyclopedic bundle of stuff to get fluent with
236.
▲
by
zachrose
8y ago
I would buy a reproduction in a heartbeat.
237.
▲
by
zachrose
8y ago
Skimming Wikipedia and RFC 3875, it seems like there was never a notion of a “common gateway” that needed an interface. The name suggests to me that there were many ways forms of “gateway interfaces” between web servers and executables, and
238.
▲
by
zachrose
8y ago
Stolen valor
239.
▲
by
zachrose
8y ago
Do either IPFS or DAT/BeakerBrowser solve this problem? (They are both protocols for distributed web apps based on immutable content.)
240.
▲
by
zachrose
8y ago
Guessing business analyst and account executive More to the point did they want to be the ones to push it? :-P
More ›