Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spacemanaki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
91.
▲
by
spacemanaki
14y ago
Your best bet with code in comments is to indent: var foo *[]*FooType http://news.ycombinator.com/formatdoc
92.
▲
by
spacemanaki
14y ago
Well Rob Pike did call it "juvenile" and compared it to those colored rods that are used to teach children how to count. http://news.ycombinator.com/item?id=5125958
93.
▲
by
spacemanaki
14y ago
Its origins are in an essay by Dijkstra from 1968 called "Go To Statement Considered Harmful" http://en.wikipedia.org/wiki/Considered_harmful Plus it's a quick way to write a pithy link-bait title (not commenting on the OP, but in general
94.
▲
by
spacemanaki
14y ago
But the process I assume you're referring to (farmers saving seeds) has changed, and just in the past 50-75 years. Now farms are massive monocultures and are susceptible to pests so they require pesticide resistent crops. Whether you thin
95.
▲
by
spacemanaki
14y ago
Ok, pardon my ignorance, but I'm curious if anyone can comment on how this does or doesn't relate to the Curry-Howard correspondence ? The very limited amount of introductory type theory that I've read (mostly Benjamin Pierce's TAPL and Sof
96.
▲
by
spacemanaki
14y ago
Did you read TFA? > The basic design he kept returning to was one proposed 50 years ago by an American rocket engineer named Bernard Smith. I know next to nothing about speed sailing, but it seems like due credit is being given.
97.
▲
PrintfGentle
(mlton.org)
3 points
by
spacemanaki
14y ago
|
0 comments
98.
▲
by
spacemanaki
14y ago
There's also videos covering that book from some fast-moving lectures that Pierce gave at the Oregon PL Summer School: http://www.cs.uoregon.edu/Research/summerschool/summer12/cur...
99.
▲
by
spacemanaki
14y ago
I've struggled with various Scheme programs not working in different implementations (mostly code from books like Lisp in Small Pieces) and have heard plenty about the fragmented Scheme landscape, but is this really such a big problem with
100.
▲
by
spacemanaki
14y ago
Sorry for my tone, I guess YMMV... I just never had any issue with MIT Scheme's debugger, although I admit that CL with SLIME is a bit more useful, especially compared to MIT's weird Emacs-clone (or -fork?) "Edwin".
101.
▲
by
spacemanaki
14y ago
If you enjoyed this little taste, you should get the book. It's really fun. There's a lot of code in it, and although it uses games as the subject for the examples, the code is definitely not fluff. It's been a year or two since I read it,
102.
▲
by
spacemanaki
14y ago
Did you read the manual? http://www.gnu.org/software/mit-scheme/documentation/mit-sch... It's not as easy as setting breakpoints in an IDE like Eclipse and using a visual debugger there, but it's definitely a workable command-line debugge
103.
▲
by
spacemanaki
14y ago
I agree! Anyone who ends up using Clojure more than a little bit will figure out how to use them, I'm sure. But rlwrap is still a very useful tool because it works with every REPL. It will always be there, for those first sessions when you
104.
▲
by
spacemanaki
14y ago
> The reason that you won’t find yourself running `clj` often is that the REPL built into bare Clojure is pretty much garbage.... This is what rlwrap is for. Call `rlwrap clj` instead of `clj`, and you get all that and more (C-r, for re
105.
▲
by
spacemanaki
14y ago
Do you think this specific company was really doing valuable innovation though? Mucking about with DNS... there's not much tightening up of that story you can do to improve it.
106.
▲
by
spacemanaki
14y ago
Gilbert Strang's Linear Algebra textbook is designed to be useful to the self-learner, and I think the latest edition was revised after MIT's OCW was a thing, so actually references all the material online, IIRC. I've read some of it and it
107.
▲
by
spacemanaki
14y ago
I was being sarcastic. My point was that there are higher proportions of women in those fields than in CS [0], and the reason why might be interesting, but it's definitely not because those fields are easier; I'm not going to engage in a pi
108.
▲
by
spacemanaki
14y ago
I agree that you can't beat the keyboard for some things. But there are a lot of things I find easier to do with pen and paper than type: almost any and all math and any kind of drawing at all. Doing that with LaTeX or the mouse or somethin
109.
▲
by
spacemanaki
14y ago
> I don't think it's industry's fault that women choose easier majors and not Computer Science on average. Easier majors like mathematics, physics, biology, the other "real sciences", medicine, etc? Those fields apparently don't have qu
110.
▲
by
spacemanaki
14y ago
"I’ve found that having a pen and paper that you enjoy actually makes you use them both a lot more." This is exactly why I experiment with pen and paper combinations every now and then trying to find something I like. I find the act of note
111.
▲
by
spacemanaki
14y ago
The Haskell code snippet is from a parody of Wikipedia, and is purposefully obfuscated code. Imagine someone holding up a piece of code written in C from an IOCCC entry, as an example of how C is a language to be avoided. Additionally, br
112.
▲
by
spacemanaki
14y ago
Depending on the size and culture of the team you're working on, I think that requiring detailed commit messages can't really hurt that much. My problem with playing fast and loose with commit messages is that if you have no standards at al
113.
▲
by
spacemanaki
14y ago
I did a little homework before posting the comment you're replying to, and found a few sources stating that Clojure lacks general tail call optimization due to limitations in the JVM. I'll share what I dug up with you, although to be honest
114.
▲
by
spacemanaki
14y ago
There are already implementations of Clojure and Haskell that target JavaScript, but I'm not sure if that's what you meant. I don't know if there are any implementations that target JS using this specific approach but I don't think it's one
115.
▲
by
spacemanaki
14y ago
> If a compiler can't automatically eliminate tail calls, that's either a design flaw or a bug You may know this already, but my understanding is that Clojure opts to not automatically eliminate tail calls in order to use Java calling c
116.
▲
by
spacemanaki
14y ago
The practice of tipping or not and how much is in a large part cultural, of course. I was just answering your question regarding the case of taxis specifically, since (in NYC, at least) I think the circumstances of "taxi economics" put most
117.
▲
by
spacemanaki
14y ago
> (Do you tip cab drivers? If so, why? Their whole job is to take you to the place you asked for, that's why you pay them). I tend to tip cab drivers here in NYC very high, anywhere from 25% to 50% depending on the fare. (I tend to tip
118.
▲
by
spacemanaki
14y ago
Could you expound on that a little? Are you referring to parents of college students transferring wealth by paying for tuition? Maybe I'm just being dense but I can't quite figure out what you meant.
119.
▲
by
spacemanaki
14y ago
There was a lot of interesting discussion on the previous submission: http://news.ycombinator.com/item?id=2346590 Robert Harper's tone seems to rile a lot of people up (some might say he's aggressive, but I would instead use "enthusiastic
120.
▲
by
spacemanaki
14y ago
> it forces you to understand types. If understanding types is so important, then why not go all the way and use either ML or Haskell, or at least Scala? Most freshmen who stumble through a Java-school curriculum will not understand typ
More ›