Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jarrett
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
151.
▲
by
jarrett
12y ago
I'm also not convinced that the arguments really are the same. The biggest complaint I've heard about OOP isn't that "you can get by without it," as the author claims. Rather, it's two things: Proliferation of
152.
▲
by
jarrett
12y ago
> Now OOP is taken for granted and assumed that all languages should be able to produce objects. Not really. There are OOP languages, there are multi-paradigm languages that include OOP stuff, and then there are languages that don't
153.
▲
by
jarrett
12y ago
For me personally, that's on par with gas prices as a reason not to drive. (I do it as little as possible, and rent a car when I do.)
154.
▲
by
jarrett
12y ago
I believe that's the major reason. (Based solely on my anecdotal evidence.) Most young folks I know don't want to be car-dependent. They often cite gas prices as the primary reason. Gas is already expensive, and the young people I
155.
▲
by
jarrett
12y ago
The home page really ought to link there. (As of this writing, it did not.)
156.
▲
by
jarrett
12y ago
Is this closed-source? What crypto algorithm and library are used? Who are the developers? The website at getsafe.org has very, very little info for a crypto app. I understand the need to keep the pitch simple for casual users. But the webs
157.
▲
by
jarrett
13y ago
If tipping is necessary in restaurants to promote good service, why isn't it equally necessary in other contexts? In businesses without tipping, managers have an incentive to please customers, so good managers[1] encourage employees (b
158.
▲
by
jarrett
13y ago
Exactly. That's why I proposed a Haskell-ish Maybe construct to represent the uncertainty of the input's validity. The code snippet: int x (>= 0, <=10) | x = parseInt(getKeyboardInput) ...was meant as an example of wh
159.
▲
by
jarrett
13y ago
> can never account for data that are provided only after compilation It seems to me they could. Suppose my program depends on external input D. That input could be a file it loads, keyboard input, network input, or anything else. Could
160.
▲
by
jarrett
13y ago
Could you give a brief overview of why? Does this come down to the halting problem?
161.
▲
by
jarrett
13y ago
> if it's possible for that type to be out of the range of your constraint....If that's so, it throws an error. If I'm understanding you correctly, that would seem to take a lot of the power out of dependent type systems.
162.
▲
by
jarrett
13y ago
A thought on dependent types: Can a dependent type system catch all type errors at compile time? For example, suppose I write the following (in pseudo-code): // Variable x is an integer greater than or equal to 0 and less th
163.
▲
by
jarrett
13y ago
That rings true, yet casual users are not the only profitable market for software. Not by a long shot. Look at companies like Microsoft, Autodesk, and Adobe. They do very well selling professional software--software that's never going
164.
▲
by
jarrett
13y ago
I messed up the formatting. I meant to say: Dealership pays you: $5,000 InstaMotor pays you: $5,500 --------------------------- You get paid an extra: $500
165.
▲
by
jarrett
13y ago
That's a good idea. I think you're right: An attacker would have to compromise all the DMSs to obtain the plaintext. That's not outside the realm of possibilities. But it is much harder than compromising just one. At that poi
166.
▲
by
jarrett
13y ago
What about my third desire: > c) without informing the recipients in advance If you're willing to arrange the protocols with your recipients in advance, there are multiple viable approaches. But what if telling them in advance is it
167.
▲
by
jarrett
13y ago
I should have mentioned: I was assuming the recipients weren't necessarily PGP users. Realistically, most people aren't. I'd imagine a dead man's switch would often be used to send documents to law enforcement, lawyers,
168.
▲
by
jarrett
13y ago
In any protocol, how would you manage the decryption keys? If the file's owner is dead, s/he can't provide the keys. So that means the keys must be transmitted to some trusted party before the owner's death. That party
169.
▲
by
jarrett
13y ago
How about showing all three? Dealership pays you: $5,000 InstaMotor pays you: $5,500 --------------------------- You get paid an extra: $500
170.
▲
by
jarrett
13y ago
If the 20% figure you gave was accurate for a particular site, then your conclusion would be absolutely correct. That particular site shouldn't have done a fixed-width 960px layout. However, as someone who was a webmaster in 2007, I
171.
▲
by
jarrett
13y ago
There is still risk. Even if you never lose money on a trade, your firm can lose money. You're paying fixed costs such as colocation. It's conceivable that all your trades are profitable, yet the sum of all those profits is lower
172.
▲
by
jarrett
13y ago
> Because we already had tons of different display devices with tons of different sizes and resolutions. What kinds of devices are you referring to? (Remember, we're talking about the days before mobile was a big enough market to ju
173.
▲
by
jarrett
13y ago
> It's completely fair to ask ourselves as a society if HFT groups are making a contribution to society that warrants the money they make. An HFT once told me his company required a huge investment to operate. Besides the infrastruc
174.
▲
by
jarrett
13y ago
> they were wrong to do that then Why was that wrong in a pre-mobile world? In many cases, using the entire width of the window would be a big mistake. For example, in a typical blog layout, you might have a main content column and a nar
175.
▲
by
jarrett
13y ago
> writing HTML/CSS That's never a rote process for me. Every bit of HTML or CSS I write requires human judgment. Any part that doesn't is handled for me by preprocessors. I'm guessing that instead of "writing HTM
176.
▲
by
jarrett
13y ago
> Webflow gives you access to the generated code if you need it. So you're assuming that the designer will have to do some hand-coding after all, yes? I agree that it will almost always be necessary. So, how do you ensure that the g
177.
▲
by
jarrett
13y ago
Would you thus have accidents punished more severely than intentional wrongs? Is that just?
178.
▲
by
jarrett
13y ago
> Compare with dozens of monitor and window sizes on desktops In practice, I think many developers just choose a fixed with, e.g. 960px, and leave it at that. The desktop window size and DPI can be largely ignored at that point. Phones a
179.
▲
by
jarrett
13y ago
Today we have such powerful tools for web development that, at least for me, there is hardly any "meaningless and repetitive work" involved. Those aspects of the job have been automated. For example, I use SCSS instead of pure C
180.
▲
by
jarrett
13y ago
Historically, some tasks have proven easier to automate than others. Much of typesetting and printing was rote, thus it was automated fairly early in the history of computers. There have been efforts to automate programming, but so far it h
More ›