Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnuvince
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
451.
▲
by
gnuvince
13y ago
> Oh, God, my eyes. Any idea at all what that does? I can tell you one thing: I would not want to debug that on a Friday night. Or a Tuesday afternoon. Or ever, really. Do you often debug the assembler output of your compiler? Same thin
452.
▲
by
gnuvince
13y ago
Can you explain what you feel is hard about IO in Haskell that isn't hard in other languages? Sure, you need to get used to the different way of working with IO (remembering to use <- instead let, calling return to wrap the result
453.
▲
by
gnuvince
13y ago
In the second example, shouldn't it be `mapM_` instead of `forM_` with this ordering of the arguments?
454.
▲
by
gnuvince
13y ago
Agreed; the PDF is absolutely beautiful, and a joy to read on my laptop, which is not something I can say of many of the ebooks I have bought.
455.
▲
by
gnuvince
13y ago
For what it's worth, I installed Debian Wheezy on my ThinkPad T420 last week, after years of being away from Debian GNU/Linux (I got caught by the Ubuntu bug), and I must say that I was extremely impressed; my video card, sound ca
456.
▲
by
gnuvince
13y ago
Agreed. From what I've read [1], the syntax rules and semantic rules take up about 40 pages with the rest of the book being "introduction, exposition, core material, appendices and index". [1] http://mythryl.org&#
457.
▲
by
gnuvince
13y ago
The difference is that I don't want my programming language to take me a lifetime to become reasonably skilled with it. There are many languages that are simpler than C, and easier to use as well.
458.
▲
by
gnuvince
13y ago
The book "The Definition of Standard ML" is ~150 pages for a language that is simple (IMO) and rich. Bonus, the definition is not written in prose, but with typing rules and operational semantics.
459.
▲
by
gnuvince
13y ago
Can anyone give me an example of their usage of git-annex? The project looks interesting, but the most immediate usage I see would be to add big files (e.g. a database dump, PDF documentation, etc.) to a git repository. What else do peopl
460.
▲
by
gnuvince
13y ago
Clojure is probably one of my favorite language name ever; it's an homonym of an extremely important concept in the language, the 'j' in the name refers to the Java/JVM ecosystem and it's very easy to google for.
461.
▲
by
gnuvince
13y ago
How can you implement a static typing system in a language that is dynamically typed?
462.
▲
by
gnuvince
13y ago
OCaml, F#, Haskell all come to mind. Regarding total type inference, I am not sure though that any of those can do completely away without some manual type annotations. I still like to declare type annotations (especially in Haskell, the
463.
▲
by
gnuvince
13y ago
> What is the type system providing you in that scenario? Though the data flowing in and out of a web application is usually in string form, that doesn't mean that it needs to be treated as such in your application. You'll con
464.
▲
by
gnuvince
13y ago
He'll be happy with something like mg, acme or even sam.
465.
▲
by
gnuvince
13y ago
> Ruby and Python "have" stacks, queues, and (in Python's case) deques, but they're rarely used, because, like Golang, they have a flexible variable-length array ADT and a table ADT. When all you have is a hammer...
466.
▲
by
gnuvince
13y ago
Really? I thought that we had reached the point where the number of monad tutorials exceeded all other computer science literature put together.
467.
▲
by
gnuvince
13y ago
If K&R is the most important programming you've read, you have many more books to read methinks :)
468.
▲
by
gnuvince
13y ago
Exactly right.
469.
▲
by
gnuvince
13y ago
Most reasons not to use Rust come down to the implementation (stability of the compiler, speed of the executables, limited standard library), I haven't seen anyone come out and say that something about the language itself is a complete deal
470.
▲
by
gnuvince
13y ago
D is syntactically close to C++, but not C++; Walter Bright made some very judicious choices to make parsing unambiguous and fast. Rust has 4 pointer types, three of which you will use regulary. This design decision is in perfect accordanc
471.
▲
by
gnuvince
13y ago
Personally, I think that generics, in whatever form, are never going to happen in Go. The designers are smart enough that if they were really interested in them, they would've studied different approaches and come up with a reasonable desi
472.
▲
by
gnuvince
13y ago
At the University of Montreal, one teacher introduced Subversion in a Software Engineering class and another Git in a compiler class. Version control is taught at university, it just depends which university.
473.
▲
by
gnuvince
13y ago
http://nimrod-code.org/manual.html#character-type In particular: > The TRune type is used for Unicode characters, it can represent any Unicode character. TRune is declared in the unicode module.
474.
▲
by
gnuvince
13y ago
mg is super nice, but I wish it had unicode support.
475.
▲
by
gnuvince
13y ago
For me, the reason why I decided many years ago to give Emacs a try is the nice integration between Emacs and REPLs; it's really nice to be able to press `C-c C-l` (or something equivalent) and have the content of the file loaded into the c
476.
▲
by
gnuvince
13y ago
> So, what are the problems you are trying to solve? And why can Go solve them better than, Java, Erlang, C++, Scala, or any other language? There should be a lot more text in that post to answer these important questions.
477.
▲
by
gnuvince
13y ago
If you are interested in bodyweight training, check out this excellent book: http://www.amazon.com/Overcoming-Gravity-Systematic-Gymnasti...
478.
▲
by
gnuvince
13y ago
A big part of gym time is getting there, changing (twice) and taking a shower. When I used to go to the gym, I did SS and it took between 50 and 60 minutes to complete the workout, but I left home at 5:30 AM and got to school at 8:00 AM.
479.
▲
by
gnuvince
13y ago
> I could easily write a custom Append func in my own application because I would know the Slice types I'm trying to operate on. More precisely, you would write one custom Append function per Slice type. AppendString, AppendInt, Append
480.
▲
by
gnuvince
13y ago
Who?
More ›