1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions
I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.
comment 13y ago · link · parent
Even counting that, the comparison is also not necessarily correct. In some cases, perhaps the C++ code would have taken 0.1s, where the ruby code takes 5s. In fact, 50x is about the slowdown you used to see for ruby in the programming languages shootout, and it is still pretty bad. [1]
[1] http://benchmarksgame.alioth.debian.org/u32/benchmark.php?te...
comment 13y ago · link · parent
I think the issue is simply that buttons tend to have more default styling you need to override, which is more likely to vary across platforms since the default style is generally chosen to mimic the system's native buttons. Whereas default styling for links is quite simple across all platforms. Besides that, there is no particular problem with using real button elements instead of link elements as far as I'm aware, just a matter of habit and convenience.
comment 13y ago · link · parent
Maybe it's just me, but the log scale for the relative program times is pretty confusing. While it probably makes the improvement more obvious, it doesn't help me understand the actual magnitude of improvement visually, without having to look at the scale and figure out the actual numbers.
comment 13y ago · link · parent
I had intended to release this spreadsheet to the HN community, but it really was not at all comprehensive, and I forgot about it over time. Perhaps if members here would volunteer to maintain a list of such cases.. We don't need PG to implement anything then, every week he could just be sent a list of users that ought to be unbanned.
comment 13y ago · link · parent
Lovely except it really was decided to explicitly make OpenSolaris incompatible with GPL. That was one of the design points of the CDDL. I was in that room, Bryan and you were not, but I know its fun to re-write history to suit your current politics. I pleaded with Sun to use a BSD family license or the GPL itself and they would consider neither because that would have allowed D-Trace to end up in Linux. You can claim otherwise all you want...this was the truth in 2005
[1] http://www.youtube.com/watch?v=-zRN7XLCRhc&lc=UEj5uH4rMafUnX... [2] http://en.wikipedia.org/wiki/Danese_Cooper
comment 13y ago · link · parent
comment 13y ago · link · parent
MyTime is Amazon for the services industry, helping people find and book services online. We're a small, but fast-growing company with funding from the likes of Mark Suster, Dave McClure and many others. We also have a base of over 1200 businesses, growing everyday. It's the perfect opportunity for anyone who wants to work at a fast-moving startup, and help us try to hack our way to success.
We're looking for self-directed, generalist software engineers, with some experience developing web applications. All 4 engineers at MyTime are full-stack, and we expect you to be as well. You should be well-versed in HTML/CSS/JS, as well as server-side web application development. Our main web application is built on Ruby on Rails, so experience with Ruby and/or Rails is preferred, but if you are familiar with something like Django or Sinatra instead, you should still apply! You should also have some experience with an SQL database of any kind.
Full job page: http://www.mytime.com/jobs/software_engineer
Email us at jobs@mytime.com, and make sure you let us know about any projects you've done.
comment 13y ago · link · parent
comment 13y ago · link · parent
As far as scripting your editor, most IDEs have some sort of plugin system, which you may not use yourself, but you'd use to find something that already roughly does what you want. To be honest, that's pretty much what I personally do with vim myself, relying on others' vimscripts to get me the functionality I so crave, whether it be indentation-based text objects, or in-editor s-expression evaluation.
comment 13y ago · link · parent
Vim definitely sucks when you start, especially in terms of discoverability. You have to learn by either reading the colossal manual, or (as most do) using bits and pieces from external sources. But once you learn enough and gain the muscle memory and understanding of how to use the different modes best (eg in vim's case, normal should be your default state), it becomes wonderful to use.
comment 13y ago · link · parent
San Francisco (SoMA), CA
Internship (Software Engineering)
J-1 OK
http://www.mytime.com/MyTime is Amazon for the services industry, helping people find and book services online. We're a small, but fast-growing company with funding from the likes of Mark Suster, Dave McClure and many others. We also have a base of over 1200 businesses, growing everyday. It's the perfect opportunity for anyone who wants to learn on the job and work at a fast-moving startup, and help us try to hack our way to success.
We're looking for a self-directed, generalist software engineer, with some experience developing web applications. All 4 engineers at MyTime are full-stack, and we expect you to be as well. You should be well-versed in HTML/CSS/JS, as well as server-side web application development. Our main web application is built on Ruby on Rails, so experience with Ruby and/or Rails is preferred, but if you are familiar with something like Django or Sinatra instead, you should still apply! You should also have some experience with an SQL database of any kind.
Email us at "jobs" at you know what. Make sure you let us know about any projects you've done.
comment 13y ago · link · parent
: 0
o : 1
oo : 2
ooo: 3
Of course, this is not a practical notation, since 0 would hard to distinguish from actual absence, but it would be viable in some situations: a table of numbers say, where you know that no cells are empty. So theoretically, it is possible to represent 0 in base 1, regardless of its obvious impracticalities.comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
But I'll note that we humans manage to understand each other just fine without resorting to a controlled natural language. We solve the ambiguity problem basically by taking the most likely interpretation of a given sentence, given the context, or asking questions if too confused. And in fact, there are natural language parsers out there that can predict the mostly like parse reasonably well for single sentences.
The biggest problem here is that programmers like having full control of what's going on, whereas this sort of idea brings in a large dose of unpredictability: how will the parser interpret this sentence? I think this can be solved to some extent by having the parser tell you what it parsed in less ambiguous terms. In fact, you might ask the parser to present a normalized version of the code that is more specific about exactly what's going on (and probably more verbose), and also expanding out phrases to show you exactly what they mean for debugging purposes. Also, when a clear parse cannot be made, the parser can simply ask you to clarify, presenting the multiple parses that it could not decide between.
comment 13y ago · link · parent
I have some ideas about how it would work, and have looked a little into how it might be implemented and have some seemingly feasible ideas there too. But I'm not an expert in either NLP or programming language development, so what do I know.
A good first step in this direction is the natural programming language for creating interactive fiction, Inform 7. The problem is that it's not general purpose. But you can try reading about it if you think natural language is too ambiguous to ever possibly be a programming language.
I want to write down all my thoughts about this idea, but I thought I'd get some more meat on it before I do that. Also, I haven't mentioned here why I think natural language programming can help, but I'll leave that to your imagination for now.
comment 14y ago · link · parent
It started with XMonad on Linux, where alt+n (where n is 1..9) would take me to a separate workspace, each with it's own apps. Workspace 1 is always my browser, 3 is the terminal, 8 is my editor, etc.
I set this up on OSX as well - workspaces are called desktops on OSX and I just set up 9 of them, with command+n being my desktop-switching shortcuts. It works remarkably well, it almost makes me cringe seeing people alt-tab repeatedly, or using the mouse and overlapping windows to try to switch between different apps.
comment 14y ago · link · parent
You might be interested in watching a Google tech talk by Dean Randin (also wrote a book): http://www.youtube.com/watch?v=qw_O9Qiwqew
He seems to have been pretty rigorous when investigating possible subconscious psychic activity in regular humans. And it does seem like most people dismiss such things out of hand, which is the very antithesis of scientific thought.
Tangentially, I don't think we can call any brain state "well understood", never mind hypnagogia.