Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BrandonM
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
361.
▲
by
BrandonM
14y ago
> "US Mountain Standard Time" (used by Outlook) is the same as "US/Arizona" (used by PHP among others). It's not quite that simple. During Daylight Saving Time, Arizona stays on US Mountain Standard Time; i.e., it's the same as Pacifi
362.
▲
by
BrandonM
14y ago
From the article, she mentions that she goes for an early-morning walk and watches the sun rise over Oakland. That seems to fit your definition of "wasting time." Her definition of wasting time seemed to refer instead to realizing what's im
363.
▲
by
BrandonM
14y ago
Macros are still mindblowing, but much less so if you've used Ruby or Python or Perl than if you're a pure C programmer. I disagree with this statement. Python's introspection, first-class functions, magic methods, and duck-typing add a l
364.
▲
by
BrandonM
14y ago
I used to play a high-quality Linux game called Battle for Wesnoth to which he contributed.
365.
▲
by
BrandonM
14y ago
$10/meal for cereal and ramen? That feels like a stretch to me.
366.
▲
by
BrandonM
14y ago
If it saves $5 a month in electricity, that extra $300 pays for itself in 5 years, meaning all the other benefits (widescreen, being able to carry a 42" alone, less space consumed) come free.
367.
▲
by
BrandonM
14y ago
But why does it anger you so much? Besides, you seem to be ignoring that ViaWeb was built before there were ubiquitous open source libraries for practically everything. My guess is that they basically had to write the whole server/applicati
368.
▲
by
BrandonM
14y ago
Car repair, 2 hours a week for a quarter or so would be an excellent use of most students' time (with minor the exception of people who live in the biggest cities and never drive). You're missing the point of the people rebutting your argum
369.
▲
by
BrandonM
14y ago
"Manually handling headers"? That is how people wrote websites in the early 2000s. Many cgi scripts were cobbled together in Perl. I found that I liked Python better. I understand that in PHP you just add some <?php ...> stuff to an
370.
▲
by
BrandonM
14y ago
That's a nice sentiment that's completely inaccurate. Even 6 years ago when I first started programming Python, simple Python cgi scripts were very easy to write. It's as simple as: print """\ Content-type: text/html <html
371.
▲
by
BrandonM
14y ago
GMail is so much faster all the way around if you use keyboard shortcuts. Because I'm rarely using the mouse and the keyboard shortcuts don't change, the experience feels largely the same to me. In the case of labels especially, gl followed
372.
▲
by
BrandonM
14y ago
I think I'm not being explicit enough. What would you use a Python version for, for which the Ruby Fake S3 implementation isn't suitable? I'm purely looking for a sample use case here. What problem does a Python Fake S3 solve?
373.
▲
by
BrandonM
15y ago
That depends entirely on the license.
374.
▲
by
BrandonM
15y ago
I thought so, too, at first, but rangeCheck is a private method. It's used in implementing a public API. Calling a non-API method "rangeCheck" and using the same variable names is clear evidence of a non-clean-room implementation, in my o
375.
▲
by
BrandonM
15y ago
I don't have anything against the request, and I would actually be interested in writing a Python version. I was just curious what the motivation and goals would be.
376.
▲
by
BrandonM
15y ago
What's wrong with a browser allowing an auth URL to be typed directly into the address bar or clicked from a Bookmark, but disallow it in any other form?
377.
▲
by
BrandonM
15y ago
Why does the script need to be in Python? Isn't Fake S3 just a server that you run and connect to from any codebase? I'm curious because Python is the language I use most, but I could easily see myself writing a Fake S3 in golang or clojure
378.
▲
by
BrandonM
15y ago
The author of this book is John Harrison of Intel, where his knowledge of automatic proofs is used in optimally designing chipsets. He is also the author of HOL Light ( http://www.cl.cam.ac.uk/~jrh13/hol-light/ ), a program that helps users
379.
▲
Handbook of Practical Logic and Automated Reasoning
(cambridge.org)
1 points
by
BrandonM
15y ago
|
1 comments
380.
▲
by
BrandonM
15y ago
Most languages' canonical implementations are written in C, including Java, Python, and Ruby.
381.
▲
by
BrandonM
15y ago
I like that approach, and I usually find myself doing the same thing. Just be sure when writing a Python "executable" that the first line is: #!/usr/bin/env python Since python is not a POSIX-specified utility, it might be anywhere o
382.
▲
by
BrandonM
15y ago
That is true, but there are two caveats: 1. POSIX /bin/echo does not recognize any options other than "-n", and "-n" is "implementation-defined". [0] So you end up right back at the same problem. 2. I highly recommend using built-ins wh
383.
▲
Bourne is not bash, or: Read, echo, and backslash
(shebang.brandonmintern.com)
38 points
by
BrandonM
15y ago
|
25 comments
384.
▲
by
BrandonM
15y ago
I liked the middle paragraph in your comment. The rest was pointless garbage. The GP gave a very thorough and enlightening description of the test development process. There's no sense in attacking the messenger: he wasn't positioning himse
385.
▲
by
BrandonM
15y ago
> this new ranking method makes me wonder whether it's even possible for a small guy to come up top in the results like that If you search for "Remote Unix" on Google (at least for me), a post on my humble blog is the second result. T
386.
▲
by
BrandonM
15y ago
This is true of Ubuntu as well. You have to run "apt-get install build-essential" in order to get a compiler. This might be easier than on a Mac, but regardless it's disingenuous to say that Mac is not a Unix because it doesn't come with a
387.
▲
by
BrandonM
15y ago
Richard Feynman, for me, is the clearest counterexample to this essay. In his prime, he was one of the top physicists in the field, having some of the best ideas, and he was still a captivating speaker who could convey complex ideas in an i
388.
▲
by
BrandonM
15y ago
A function that yields instead of returning values results in an iterator. One does not need to define a class at all.
389.
▲
by
BrandonM
15y ago
I work at a startup whose founder was forced to shutter a previous startup with more promise (ever heard of Modista?) because they were sued by iLike for a patent that had clear prior art. The suit came in the midst of a funding round and b
390.
▲
by
BrandonM
15y ago
> Stephen Downes emailed me personally about that. You mean this guy: http://en.wikipedia.org/wiki/Stephen_Downes ? Was he offended by the word "spade"? It often seems to be the case that the people who are fighting for political co
More ›