Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
briancarper
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
briancarper
15y ago
Interesting. A similar feature built into Vim is `cursorcolumn`, which will highlight the background of whatever column the cursor is in. If you set `cursorline` as well, you get a kind of cross-hairs around the cursor. See e.g. http://
2.
▲
by
briancarper
16y ago
Having read the betas, I can't recommend this book strongly enough to people wanting to master Clojure. The authors really know their stuff.
3.
▲
by
briancarper
16y ago
There are some similar horrors in the source code for Clojure. https://github.com/clojure/clojure/blob/master/src/jvm/cloju... Java is a harsh mistress. This is why dynamic languages on the JVM are nice, so I never have to write code li
4.
▲
by
briancarper
16y ago
A new version of oyako is coming soon-ish (within a week or two) with possible mysql support, but it will always focus primarily on postgresql. The next version will also feature an SQL DSL similar to ClojureQL but less fancy / magical. (
5.
▲
by
briancarper
16y ago
> I often have to navigate the project folder structure to look for stuff, I need to compare files, work with the source control and so on.. all of this I feel I can do pretty efficiently from within Eclipse. For Vim, there are a lot of
6.
▲
by
briancarper
16y ago
Thank you thank you thank you for linking to this. I also use both editors (daily), and Emacs' undo system is easily among its worst and most annoying features, while Vim's undo system is among its best. The documentation at the top of un
7.
▲
by
briancarper
16y ago
Many huge Java frameworks are painfully over-complex, but personally I make good use of a lot of "tiny" Java libraries. e.g. if I want to calculate an MD5 checksum or pluralize a word, there's usually a bit of Java out there for that alrea
8.
▲
by
briancarper
16y ago
You can always exit via (System/exit 0), 0 being the return code. `java -cp clojure.jar clojure.main` is the preferred method of starting Clojure rather than using -jar, I think.
9.
▲
by
briancarper
16y ago
People cheat because they're immoral when no one's looking. I don't see that we need to try to justify it any further than that. Someone can get something valuable without working for it by lying/stealing, and they can probably get away w
10.
▲
by
briancarper
16y ago
" If you feel that parenthesis stacking actually improves the readability of your code, by all means, feel free to do so! However, "everyone else is doing it" is not a good reason to sacrifice the readability of your code. " I think it is a
11.
▲
by
briancarper
16y ago
A perverse case of http://en.wikipedia.org/wiki/RAS_syndrome . Please forgive me.
12.
▲
by
briancarper
16y ago
My opinion today is largely the same, yes. I love Clojure and in my spare time I use it for everything. If I tried to do a web app in Common Lisp again, I'd probably have an easier time of it today than in 2008, because I know a bit more.
13.
▲
by
briancarper
16y ago
I ran on MySQL for a few months without issues, but my code was disgusting. My choice was clean code + slow, or ugly code + fast. Today I have clean code + fast, thanks partly to better library support in Clojure, so I'm happier. I'll be
14.
▲
by
briancarper
16y ago
Why? Because it's a fun project to play with and a good way to learn. SQLite3 probably would work, yes. I agree, this post shouldn't influence anyone. Not sure why it was submitted to HN.
15.
▲
by
briancarper
16y ago
I have a (bit of a) clue how to use a relational DB. But not from Clojure two years ago, when the only interface was a very thin layer over JDBC. As for why it's on the homepage, I don't think it belongs here either. The intended audience
16.
▲
by
briancarper
16y ago
I linked to other posts in that post, in which you can see some of the things I struggled with (written while I was struggling). For example: 1. Windows opening and closing seemingly at random when using SLIME 2. Horrible default fonts 3.
17.
▲
by
briancarper
16y ago
On a low level, Clojure exposes the underlying JVM, so you can instantiate and bang on Java objects all you want. It's "hybrid" in that sense, and always has been. That isn't changing. But dipping into Java in Clojure is used mostly for
18.
▲
by
briancarper
17y ago
I second this. If your shyness is bad enough that it seriously, negatively affects your life, consider talking to a psychologist. Speaking from personal experience, it can help. There's no shame in it. A psychologist offers a non-judgme
19.
▲
by
briancarper
17y ago
No, I wrote it this way because I do feel strongly about it. I used the word "devastated" as a play on the title of the other article. I'm not "devastated", but I do feel strongly enough about this issue to alter my lifestyle, for example
20.
▲
by
briancarper
17y ago
I use hyperbole to emphasize a point. I don't cry myself to sleep when I see an ad, no. Sometimes I become mildly annoyed. Life is generally OK. Likewise, ad-blocking isn't really "devastating" the internet, is it?
21.
▲
by
briancarper
17y ago
I am emotional about advertising in general, not those ads in particular. I am not frothing at the mouth over a single ad, no. Are you OK with a bunch of marketing guys sitting in an office thinking "How can we manipulate people's sex driv
22.
▲
by
briancarper
17y ago
I have no problem with a site denying content to people using ad-blockers. That's their right. If ad-viewing is mandatory to view their content, I'll abide (by not going back, or paying real money if I think it's worth it). If it's not m
23.
▲
by
briancarper
17y ago
Yes, it's my blog post. (I would hesitate to call it an article.) Advertising is unethical insofar as it's manipulative and dishonest and invasive. Even if not unethical, it's highly annoying and aesthetically displeasing. Most people p
24.
▲
by
briancarper
17y ago
The article starts off saying that ad-blocking is not unethical, but then goes on to strongly imply that it is. e.g. I think in some ways the Internet and its vast anonymity feeds into a culture where many people do not think about the peo
25.
▲
by
briancarper
17y ago
Indeed. Putting a scantily-clad lady up on the TV screen isn't giving me any information. It's treating me like an animal, hoping my sex drive overrides the part of my brain that says "You don't really need to buy this crap". Loud noises,
26.
▲
by
briancarper
17y ago
I doubt it's possible to fix. Advertising is by its nature an attempt to manipulate people, by grabbing their attention, bombarding them with information, and eliciting emotional responses in them. Unsolicited advertisement is inherently
27.
▲
by
briancarper
17y ago
After living with a nice s-exp language, C-like syntax seems like it brings a lot of problems with very few benefits. However I wouldn't dismiss a language based only on the syntax.
28.
▲
by
briancarper
17y ago
I don't know about super-programs, but I use Clojure at work (doing things no one else would ever care about) and I use it at home to solve fun problems. I previously did the same things in PHP and Perl and Ruby and Python and such, and th