Thrall | 11 years ago | on: The Infamous Windows “Hello World” Program
Thrall's comments
Thrall | 12 years ago | on: Surfing the Modern Web with Ancient Browsers
Thrall | 12 years ago | on: Dell XPS 13 Developer Edition review
- Home, end, pgup, pgdown
- Delete
- Function keys that are just F-keys, not volume/brightness controls that act as F-keys when you press a 'function' modifier key.
Thrall | 12 years ago | on: Dell XPS 13 Developer Edition review
When I'm not using the mouse, I change the focus with the keyboard (In my setup, focus follows mouse only when the mouse moves).
Thrall | 12 years ago | on: What’s Wrong with Git? A Conceptual Design Analysis
Now, I would miss git's more advanced features if they weren't there, but when I started, I distinctly remember thinking, "For now, I just want to be able to change my code non-destructively, so I can easily revert it if I make mistakes". Git did that, and did it well.
Thrall | 12 years ago | on: A Penny Saved: Psychological Pricing
Thrall | 12 years ago | on: Oyster, Netflix for books, is launching the beta version of its iPhone app
Thrall | 12 years ago | on: How to Farm Insects at Home
Thrall | 13 years ago | on: How to eat healthily on £1 a day
That's the trouble with this article; With the dependence on buying everything in bulk (and somehow using it all up before it goes off), it appears to be more of a fun theoretical calculation than a practical weekly diet.
Thrall | 13 years ago | on: How to eat healthily on £1 a day
Thrall | 13 years ago | on: How to eat healthily on £1 a day
Thrall | 13 years ago | on: How to eat healthily on £1 a day
Thrall | 13 years ago | on: Practices in source code sharing in astrophysics
I believe Newton said, "If I have seen further it is by standing on the shoulders of giants.", not, "I have rediscovered everything in a slightly different way because no-one gave me more than a vague method to go on"
It is no bad thing to have several independent implementations of an algorithm. If there is a problem with one, then the others are likely to show that there is a problem. However, without open source code, all you can do is say, "Mmm, something's wrong somewhere" and write another version. You may end up with several papers that agree and one that doesn't, but you still can't draw any conclusions without looking at the code. Ultimately, you get a situation where everyone has to repeat the same work and see what they get, when what they should be doing is poring over the original soources and discussing which bits could/should have been implemented differently and how that affects the result.
The code is part of the method. If you can't show us the code, don't expect me to believe your 'results'. That is science.
Thrall | 13 years ago | on: Copying is an act of love. Please copy and share
In terms of semantics: "Say I write a book but nobody purchases a copy."
In more meaningful terms: If people do not value your book highly enough to pay you for it, then without the thousands of unauthorized copies, you are an unknown writer languishing in obscurity. With the copies, you have at least started to publicise your name and your message.
Thrall | 13 years ago | on: “Right click and save as” needs to go away
It is perhaps part of a larger trend to try and solve UI problems for tablets and phones, then push the solutions back to the desktop, despite the fact the desktop didn't suffer from the problem they attempted to solve.
Thrall | 13 years ago | on: “Right click and save as” needs to go away
If my browser can handle pdfs, I probably want to view them using the browser[1].
If my browser can't handle pdfs, it will be forced to download them anyway.
If my browser can handle pdfs, but I want to save it/view it with another program, I can use right-click+save as.
By contrast, a pdf which I want to view in-browser, but which forces the browser to download it instead is just a nuisance. Even if there were a 'right-click+don't save it, just view it in browser', I don't know that I need to use it until I have tried clicking the link.
In general terms: You publish content on the web, I decide how I view it. Try to force my hand and you'll just annoy me into going elsewhere.
[1] If the browser supports pdfs by default, but I prefer to view them with somthing else, there are usually settings to tell the browser how to handle different file types.
Thrall | 13 years ago | on: Fish 2.0 shell beta
Thrall | 13 years ago | on: Don't Copy-Paste from Website to Terminal
It's like a master-criminal's subtle and sophisticated plan being foiled by a simpleton because it assumed that the victims would be able to read.
Thrall | 13 years ago | on: Don't Copy-Paste from Website to Terminal
Thrall | 13 years ago | on: Don't Copy-Paste from Website to Terminal
Linux already has more package managers than you can shake a stick at. To gain traction on linux, homebrew would have to offer useful features that other package managers don't have. Even then, people are more likely to copy the features into an existing linux package manager.
I don't think people tend to shop around when it comes to package managers; you use whatever your distro provides. If it sucks, you find a better distro or submit patches, depending how involved you are.
"used in my example above where we decided that us meant “unsafe string” and s meant “safe string.” They’re both of type string. The compiler won’t help you if you assign one to the other"
Assuming you have the luxury of a language with a good type system (either because it's designed for the task in hand or it's extensible), the compiler can help you, and you would be much better off having unsafe and safe strings as separate types. Then the encode function simply becomes a function of type unsafe -> safe. I believe Michael Snoymann touches on this in his presentation, "Designing Type-Safe Haskell APIs"[1].
I'm not arguing that Joel's method isn't a good idea. However, if you can it's better to leave hints for the compiler, not just the programmers.
[1] https://docs.google.com/presentation/d/1K7smIeqmca-fY8qgQUKr...