Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jarrett
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
jarrett
12y ago
Very true. Here's an example of a bug that has bitten me more than once, has everything to do with immutability, and isn't reasonably within the scope of traditional testing tools: A crucial class writes files to a certain folder.
122.
▲
by
jarrett
12y ago
You don't necessarily see every policy initiative a President tries to undertake. Often, policy initiatives begin in private consultation between executive staff, legislators, lawyers, and lobbyists. Sometimes, it becomes clear from th
123.
▲
by
jarrett
12y ago
Each elected official has limited power. A President can expend all his/her political capital on just one piece of legislation and still fail to pass it--or pass it, but in a severely watered-down form. Even after a law is passed or an
124.
▲
by
jarrett
12y ago
For anyone wondering about the book itself: It covers a lot of very practical, nuts-and-bolts challenges in structuring a game's codebase. It doesn't succumb to the temptation of architecture astronautics.[1] It's more like,
125.
▲
by
jarrett
12y ago
A fair point. I guess I should have said: "it's all stuff a programmer has to do." It might not be programming proper, but it's part of the job, at least for many (most?) programmers.
126.
▲
by
jarrett
12y ago
So, an entity that's set up with an ODFI can initiate arbitrary debits to arbitrary accounts, with no action by the owner of the debited account. What happens if that privilege is abused? Is it like chargebacks with credit cards? What
127.
▲
by
jarrett
12y ago
Hardly anybody teaches all that boring, infrastructure stuff, and it's a shame. Most web programmers I know can't provision a Unix server, and that's a shame too. Some people call this stuff "system administration,"
128.
▲
by
jarrett
12y ago
Fighting anti-female prejudice could conceivably be part of a strategy for supporting women. At least, it wouldn't be surprising if an organization dedicated to supporting group X fought prejudice against group X.
129.
▲
by
jarrett
12y ago
Certainly a fair question. Note that I'm not taking sides with or against either Ada or Github. Just saying how I interpreted Ada's comments.
130.
▲
by
jarrett
12y ago
Perhaps I'm misinterpreting the post, but I understood it to say that what the authors perceived as a "threat of legal action" was a significant factor in their decision. I presume that is a reference to Tom Preston-Werner&#x
131.
▲
by
jarrett
12y ago
> Technologists are phone averse because at their core they are socially uncomfortable. I'd imagine that's true in some cases, but it's not valid to assume that all technologists dislike the phone because they're so
132.
▲
by
jarrett
12y ago
> Splitting front-end and back-end tests is desirable. I don't feel confident without integration tests. An integration test should test as much of the system together as is practical. If I test the client and server sides separatel
133.
▲
by
jarrett
12y ago
Largely because more of the automated integration testing has to be done with a headless browser, e.g. Poltergeist. If you have no JS in an important area of your site, you can integration test it without a headless browser. Your test pro
134.
▲
by
jarrett
12y ago
But as stated above, Dimensional already does Celsius to Kelvin and vice-versa. Which is indeed of the form you just stated: f = m*c + b where m is simply equal to 1. Why wouldn't Fahrenheit conversion be the same thing, just with diff
135.
▲
by
jarrett
12y ago
> 1 apartment getting rented on AirBnB probably isn't a problem for anyone at all. Except, perhaps, for the landlord or condo association. Either one could have legitimate concerns about that. Especially if the lease or condo rules
136.
▲
by
jarrett
12y ago
> It's a fight against condo and co-op owners. They're not the only people who might reasonably want regulations on short-term rentals. Many long-term renters have a legitimate interest in the quality of their buildings and the
137.
▲
by
jarrett
12y ago
Git is complex because version control is inherently a complex problem. Let's look at some of the Git complexity that people don't like, and why they should: Branches: Especially if you work on a team, but even if you work alone,
138.
▲
by
jarrett
12y ago
Exactly, which makes me wonder why the library can support Celsius but not Fahrenheit. To say it in more detail: To transform between Celsius and Kelvin, you just translate. (That operation is supported in Dimensional.) To transform betwe
139.
▲
by
jarrett
12y ago
You're quite right about the limitations imposed when you make your own dimensional types like that. It turns out the problem isn't trivial. Which is why I prefer to use a library like Dimensional. With Dimensional, you get plenty
140.
▲
by
jarrett
12y ago
Celsius and Kelvin are supported. I'm not certain, but it would appear Fahrenheit support is not built-in. There's a module called NonSI: https://hackage.haskell.org/package/dimensional-0.13/docs/Nu.
141.
▲
by
jarrett
12y ago
In Haskell? I wouldn't do that. That improves readability, but it doesn't allow the compiler to enforce correct unit usage. If a Kilogram is just a synonym for a Double, you can pass it in where other meanings of Double are expect
142.
▲
by
jarrett
12y ago
It does make me interested to hear what, if any, investments this person made. Inflation means $5M was worth more in 1949 than in 1989, but investments can (and often do) beat inflation. So, assuming one invests successfully, one could work
143.
▲
by
jarrett
12y ago
I think what you're getting at is the distinction between this: float x; and this: kilogram x; The former, as you say, only tells you about the underlying representation. It says "this is a float, so the computer sho
144.
▲
by
jarrett
12y ago
> does the act of freely putting your shows on it mean you give up the right to control unaltered reuse or differing uses? No, by law it does not. The copyright remains in effect. As discussed in the article, broadcasting grants certain
145.
▲
by
jarrett
12y ago
> knowing your (Open)SSL setup is as important as e.g. knowing your RoR setup Very true, and yet it's so much harder to know your OpenSSL or other security-related setup. You learn your Rails setup well enough to make your applicati
146.
▲
by
jarrett
12y ago
Will formal verification ever be possible for systems composed of a bunch of heterogeneous components working together? I'm thinking of a web application, where the software's behavior depends on the interaction of client-side scr
147.
▲
by
jarrett
12y ago
> for the type of application that Delphi is appropriate What type of application is that, in your opinion? Would you use it for a web-based app? (Many boring corporate apps are now web-based, and not just because the developers want tha
148.
▲
by
jarrett
12y ago
> with records of closures. Interesting. Can you point me to an example?
149.
▲
by
jarrett
12y ago
> just wait until you're trying to understand a cyclic dependency graph in a data-binding environment (the usual OO manifestation) or a spreadsheet, with the local bizarre adaptations to try to make that sensible all interacting wit
150.
▲
by
jarrett
12y ago
Perhaps we have different definitions of OOP. To me, it's not OOP without subclasses and private mutable state. What does OOP mean to you? I'm guessing you're thinking of Haskell's typeclasses as an analogue to Java'
More ›