220 karma · joined Dec 12, 2010 (15y ago) · 58 submissions
comment 11y ago · link · parent
Perhaps you are confusing Ireland with Iceland? (seems improbable since you work in Ireland) Even then, Finland is colder than either of them although its coldest parts are not so easily accessible.
comment 11y ago · link · parent
But the main problem of the study is not its reproducibility. The main problem is that it is designed in a completely wrong way and it cannot seriously claim to answer the questions it pretends that it answers.
comment 11y ago · link · parent
> The study was conducted when most of the participants in the Word groups used Word Version 12. Only 3 participants used older versions of Microsoft Word. Newer Versions of Word include a new Equation editor that makes the software even more powerful and easier to use.
The authors of the article are, obviously, completely unbiased.
comment 11y ago · link · parent
Since then I have not put large binary blobs in a database but I wonder if I would get reasonable performance by putting them in a _separate_ database instead of mixing them with other small-size rows.
comment 11y ago · link · parent
comment 12y ago · link · parent
37.
Scribbleton: the little personal wiki(scribbleton.com ↗)
4 points · by cefstat · 12y ago · discuss
comment 12y ago · link · parent
But concerning the example you bring up, I remember having watched the video with the tank stopping and trying to go around the man several years ago (I believe in '89 but I can't be sure). In particular, I don't remember that there was even a period when I thought that the tank went over the man - the video of the tank's attempted maneuver is still very vivid in my memory. On the other hand, I never believed that the people pulling the man away were helping him. I have always assumed that they were arresting him. Of course I could be wrong.
comment 12y ago · link · parent
comment 12y ago · link · parent
def create_multipliers():
def multiplier(i):
return lambda x: i*x
return [multiplier(i) for i in range(5)]
for multiplier in create_multipliers():
print multiplier(2)
I would still prefer that Python doesn't do this.comment 13y ago · link · parent
In the case of GitBucket the most important advantage is its easy installation, especially when compared to the more well known GitLab (that I never dared install after reading through the installation instructions).
comment 14y ago · link · parent
comment 14y ago · link · parent
import re
re.match(r"^/(?P<year>.+?)/(?P<month>.+?)/(?P<day>.+?)/(?P<title>.+?)\.html$",
"/2012/08/12/test.html"
).groupdict()
re.match(r"^(?P<name>.+?) <(?P<email>.+?)> \((?P<url>.+?)\)$",
"John Doe <john@example.com> (http://example.com)"
).groupdict()
re.match(r"^from (?P<from>.+?) to (?P<to>.+?)$",
re.sub(r"\s+", " ", "from 4th October to 10th October")
).groupdict()
re.match(r"^convert (?P<quantity>.+?) (?P<from_unit>.+?) to (?P<to_unit>.+?)$",
"Convert 1500 Grams to Kilograms".lower()
).groupdict()
This didn't take long to write but even like this I would vastly prefer the proposed syntax of extract-values which I find much easier to remember and to write. So, yes, we can write regular expressions but why should we if for certain simple cases (and the rule is that most cases are simple) there is an easier way to do the same thing?Think, for example, the built-in support for templates in Python (string.Template). Templates offer nothing that cannot not be done with the standard formatter but they are simpler to use. In a sense this proposal is the dual of templates, as it offers easy parsing for a restricted number of cases. And it definitely doesn't deserve all the negativity.
Having said that, I don't think I would use such facility unless it were part of the standard library. Writing a regular expression now and then is easier (at least for me) than having to keep around an extra library that, even with the help of pip and friends, I would have to re-install every time I change my environment (upgrade Python, setup a new machine etc.).
comment 14y ago · link · parent
I don't find it is so important that people like Jobs, Gates, Brin, etc. have sometimes correctly predicted the future. What is important is that they executed, and turned these predictions to reality. Even more. They turned these predictions to everyday reality for most people, instead of a select few.
It annoys me when these people are compared to people who just throw a million ideas around and then, when one of these ideas becomes reality, they claim that they are so good at predicting the future.
comment 14y ago · link · parent
comment 14y ago · link · parent
55.
Open letter on the future of mathematics in UK(guardian.co.uk ↗)
2 points · by cefstat · 15y ago · 2 comments
comment 15y ago · link · parent
You should not expect much more to happen with simplenote.el since I don't feel very motivated to work on it anymore. When I first wrote simplenote.el the Simplenote app and platform were perfect. Since then Simplenote has changed to a direction that I don't like (tags, different pay model) [1]. Furthermore, I have been lately traveling a lot to China and Appspot is blocked there. This limits the usefulness of Simplenote.
I do plan to rewrite simplenote.el for Simplenote's API2 and clean up the code but at the moment I don't plan to add any new features. In particular, I don't plan to add any support for tags. Of course everybody is welcome to fork simplenote.el and continue its development.
[1]: I understand that most Simplenote users are happy with these changes and actually Simperium has done a great job in adding features in an unobtrusive way.
comment 15y ago · link · parent
Internet Restore and Utilities
* Built into Lion: OS X Lion includes a built-in restore partition, allowing you to repair or reinstall OS X without the need for discs.
* Browse the web with Safari: Recovery mode now includes the Safari web browser, so you can check your email or browse the Apple Support site.
* Reinstall OS X: OS X can be reinstalled on your Mac from recovery mode.
* Restore from a Time Machine backup: Use recovery mode to restore your Mac from a Time Machine backup.