Viewing profile — shmeedogg
shmeedogg
HN member- Joined
- Sat, May 16, 2009, 2:40 PM UTC
- HN karma
- 349
- Public activity
- 19 items
- HN profile
- View on Hacker News ↗
About shmeedogg
Recent public activity
- story
-
comment
Comment #4768664
Agreed, I think the distinction between a bound method or a function is irrelevant here. If we want explicit kwargs (a big 'if' since many of the suggestions in this thread are to …
-
comment
Comment #4768582
> Whether a field is modifiable is often determined by the current user's access level and the current state of the object. So, putting such restriction at the function definition …
-
comment
Comment #4768428
I'd love to see this integrated into the language and live along side of `None` (I can dream, can't I?) But until then, how can two different libraries agree to use the exact same …
-
comment
Comment #4768391
To my ear, this does sound the best. Thanks for the suggestion!
-
comment
Comment #4768349
Interesting. I love the idea of not having to import an external library, but much like the `NotImplementedError` suggestion, it overloads a value that already has a specific meani…
-
comment
Comment #4768254
> whereas a function with a signature will need its arguments changed whenever the database schema changes. True there is some work in keeping the two synchronized, but there are b…
-
comment
Comment #4768145
The implementation here is just a suggestion, and trust me, it wasn't much effort ;-) The aspect that interests me is that this is a problem that crops up occasionally in different…
-
comment
Comment #4767746
That example could probably use some clarification, but the idea is that `name` and `age` in that example are both nullable, so passing in `None` (setting the column to NULL) is di…
-
comment
Comment #4767731
Uppercase was chosen to match Python's existing singletons, `True`, `False`, and `None`. Lowercase might look a little too much like a variable, and all-upper might look too much l…
-
comment
Comment #4767718
Agreed. 'Empty' works, as does 'Blank' or 'Unassigned'.'Nil' is concise, but might be a little too easily confused with 'None' (especially so for someone coming from Ruby). I'd lov…
- story
- story
-
comment
Comment #1824890
Fixed, thanks!
-
comment
Comment #1824851
Oops, that's a typo in code that hasn't been deployed yet. Our regression suite missed it ;-)
-
comment
Comment #1824778
reallyslowsite.com is designed to be a tool that developers can use to simulate how their application responds to expensive HTTP requests. You could use this, for example, to test …
-
story
ReallySlowSite.com
Useful for developing/testing HTTP caching libraries.
-
comment
Comment #1606735
http://longform.org/
- story