Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gcv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
541.
▲
by
gcv
17y ago
Yes. This approach works. I used it when I actually did work in a proprietary language which had no usable objects, but did have half-decent lambdas. Most people did not understand or use them at all, but one new guy with a Java background
542.
▲
by
gcv
17y ago
In my past life as an "enterprise" programmer, most people at best paid lip service to doing the "Right Thing." Most code I saw was incredibly bad, written by programmers who knew they would switch groups or companies, or go into management
543.
▲
by
gcv
17y ago
Good post, but I wish it addressed the accessibility argument a bit more thoroughly. Although in fairness, it does not seem that Mockingbird is terribly useful for visually-disabled users in any case.
544.
▲
by
gcv
17y ago
There is work in progress on adding some features to Clojure to allow child threads access to dynamically-bound variables: http://www.assembla.com/spaces/clojure/tickets/170
545.
▲
by
gcv
17y ago
Thanks, I didn't know that! With regard to the non-geographical "timezone" concept, is that what the time zone ID string concept "Europe/London" aims to solve (along with historical and assumed future rules specifying time changes)? I alway
546.
▲
by
gcv
17y ago
Great article. The author suggests saving time in two formats, (1) UTC and (2) local date-time with a geographical time zone. The app would then pick the right one to use depending on context. BTW, let me take the opportunity to praise the
547.
▲
by
gcv
17y ago
I once read that anyone who actually finds a SHA256 collision should publish it in a paper. SHA256 collisions are supposed to be the just shy of impossible to find (you know, the whole old trope of millions of machines millions of times fas
548.
▲
by
gcv
17y ago
Tom Cross, a security technology researcher in Atlanta, received a cease-and-desist letter from TI after merely posting about the hackers on his blog, ... [and] took down his link. Excuse me, taking down a link to a discussion of the key?
549.
▲
by
gcv
17y ago
Please don't. It's dangerously distracting. http://www.nytimes.com/2009/10/01/technology/01distracted.ht...
550.
▲
by
gcv
17y ago
Quite a few ways. 1. Start with M-x rgrep, it may do everything you need. 2. If not, M-x find-grep lets you run arbitrary grep commands. You may wish to customize grep-find-command to some reasonable default, e.g., mine: (setq grep-fi
551.
▲
by
gcv
17y ago
loop-recur has its good points, but it has its limitations, too. To wit, recur is not allowed inside a catch or finally form. (At least in Clojure 1.0.0.) By extension, this precludes the use of for, dotimes, doseq, and any other macro whic
552.
▲
by
gcv
17y ago
I'd like to (slightly) challenge #8: it seems to me that Dropbox is a counterexample. The Dropbox guys took quite a long time and their first release was quite polished. Not perfect, certainly, but way, way ahead of just minimally functiona
553.
▲
Against storage infrastructure complexity
(blog.kozubik.com)
5 points
by
gcv
17y ago
|
0 comments
554.
▲
by
gcv
17y ago
Active: Cupboard ( http://github.com/gcv/cupboard ), an embedded database for Clojure. I wrote and open-sourced it, I guess that's about as active as it gets. :) Patcher: Samba. I work with it extensively, so I look at its code all the time
555.
▲
by
gcv
17y ago
Doesn't the documentation have to then become as rigorous as code --- effectively a high-level language in its own right? So writing the documentation becomes, well, just like writing a program without testing it as you go, without benefit
556.
▲
by
gcv
17y ago
Try turning on the keyboard shortcuts and learning them. I can't imagine wasting time hunting for 'c'ompose, or 'C'ompose for a new window. Some are a little odd ('#' for delete and 'e' for archive), but I think there's a Lab you can turn o
557.
▲
by
gcv
17y ago
Chiming in to the chorus: what do you use for that type of programming? How does it support the kinds of formal proofs you mentioned? Although I have proven the correctness of some simple code, I have found that the proof and the code can d
558.
▲
by
gcv
17y ago
A lot of interesting and bold claims. Has anyone played with this product? Does it actually work well?
559.
▲
by
gcv
17y ago
What about network shares?
560.
▲
by
gcv
17y ago
Possibly. I didn't find this trick until recently, and I switched to Emacs 23 pretty much right after it came out.
561.
▲
by
gcv
17y ago
No, I mean reverse incremental search. M-r doesn't show matches as you type (at least not with Emacs 23 and my setup), but C-r does.
562.
▲
by
gcv
17y ago
After years of using Emacs, I only just discovered that incremental search works within the ordinary find-file (C-x C-f) function. Try it: C-x C-f, then C-r, and search for a piece of a filename you opened in the recent past. Try C-M-r, and
563.
▲
by
gcv
17y ago
Thank you for posting this. Ledger looks fantastic. Not sure yet how I can use its files to give information to an accountant, but I'm sure I'll achieve enlightenment after learning more about it. One more cool thing: look at the TODO file
564.
▲
by
gcv
17y ago
Good question. I can think of two tasks for which I routinely use the shell, and wouldn't really prefer one of the newer scripting languages: 1. Customizing my interactive shell, although I personally favor zsh over bash. I write shell func
565.
▲
by
gcv
17y ago
I wonder if that's a generational thing. When I hear "nuclear," I tend to hear "exciting source of relatively clean renewable energy." Of course I know about weaponry, and I know about Chernobyl, better than most, but I also hold that atomi
566.
▲
by
gcv
17y ago
Try to work on something interesting. Hate to sound snarky, but it's that simple for me.
567.
▲
by
gcv
17y ago
Indeed. I'd buy this instantly if it provided an iPhone-friendly interface for reading the discussion, but I can't tell from the screenshots. Also, if there is a story view --- reasonably sized up-down voting arrows alone would make it wort
568.
▲
by
gcv
17y ago
"So for now, I decided to abandon F# in favor of OCaml, spending yet another two weeks trying to set up a great work environment. [Eclipse screenshot] And there it was." Reads to me like spent an extra two weeks on Eclipse. As for your othe
569.
▲
by
gcv
17y ago
The author says he spent two weeks setting up Eclipse to work with OCaml; he's a serious productivity maven. It would have taken less time to learn enough vi or Emacs to get by, their OCaml modes, and would have benefitted him in the long r
570.
▲
by
gcv
17y ago
Samba uses fork to create new instances of itself to handle each connected user, and I am often grateful that it does that instead of using threads. Since each user has a separate process, something going wrong inside the process means that
More ›