HNHacker News
TopNewBestAskShowJobs

bgar

1,001 karma · joined February 8, 2012

submissionscomments
bgar··on Scala Center

  Beyond that, functional programming is, by and large, easier than imperative programming.
You say this but dislike even a bit of abstract algebra? I see a conflict here; anyone that likes FP, moreso, typed FP, should be familiar with simple concepts like monoids, functors, and monads. Honestly, I don't understand how someone can write in a functional language and not know these concepts.... they're literally Haskell 101. That doesn't even scratch the surface of what FP can do...
bgar··on Ditching tmux
Yeah I don't see why one would want to write extensions in anything but lisp. Lisp is way more powerful and straightforward! :)
bgar··on AlphaGo shows its true strength in 3rd victory against Lee Sedol
I don't know if you're serious, but how can you make such grand predictions, considering you yourself admit to having only superficial knowledge of machine learning?
bgar··on Ask HN: Does it really matter which language you use to write code? Pros and Cons
Yes, different languages are made for different purposes. The concept of low-level and high-level is relative to the task. When writing systems applications you reach for C, C++, whereas for server code you might reach for Scala, Elixir, and obviously you have the platform-specific languages such as Obj-C. When you want to verify your code formally, you might reach for Coq or Isabella, writing theorem provers usually in Standard ML or OCaml.

Furthermore, the tools you use mold your way of thinking. That's why teaching Haskell as an introductory language is a better choice than Java.

bgar··on The Ultimate Oldschool PC Font Pack
If you use Emacs' Org mode, you can actually convert parts of the buffer to LaTeX and have them inline. This solves the problem of equations being not as readable as you're writing.
bgar··on Use Atom to edit in Chrome
Try this: http://markdown-here.com/
bgar··on IRCv3
Just run ZNC instead, if the service is unreliable.
bgar··on Ask HN: How to pick up Clojure for web dev? (coming from RoR background)
No because the topics in that chapter are advanced.
bgar··on Ask HN: More programmer friendly alternatives to Evernote?
Org-mode and Dropbox, Orgzly on Android, Google Keep for anything else.
bgar··on Ask HN: How can I learn Haskell?
There are much better resources than LYAH.

Chris Allen has a good list and critique of different books/courses: http://bitemyapp.com/posts/2014-12-31-functional-education.h...

bgar··on Compiler Errors for Humans
I'd say Haskell is modern. As well as having many years of research and development behind it, compared to Elm. Would having Elm server side really be useful? We have Haskell already, with all the benefits of Control.Concurrent, Control.Parallel, STM, FFI, Cloud Haskell, etc. Not to mention proper monads.
bgar··on Ask HN: What is your IDE for Rust?
Emacs, OS X, rust-mode <https://github.com/rust-lang/rust-mode>.
bgar··on How it feels to join an all-Haskell startup
(,) <$> and <*> are very common functions that every Haskeller knows... the revision is understandable if you write Haskell.
bgar··on Ask HN: Do you switch off your Laptop? Ever?
Maybe around once a month, on a MacBook Air.
bgar··on Ask HN: Which functional programming book?
I would recommend you follow the order of courses listed in https://github.com/bitemyapp/learnhaskell because simply reading won't get you far enough. The Penn CIS194 (2013) course is excellent, try working through it and reading Learn You A Haskell as a supplement.
bgar··on Ask HN: I'm looking for a mentor
You should probably include more details, i.e. your background, what sort of mentorship you're looking for, etc. Hard to imagine someone reaching out to you with so little info.
bgar··on Ask HN: Where to find discussions on CS papers?
Have you heard of Papers We Love? http://paperswelove.org
bgar··on Ask HN: What is bad about Haskell?
> there must be something bad I don't know about the language.

No, there isn't. People are just scared because of what they hear from others who failed at learning it, and who now say negative things about the language to feel better about themselves. People who fail to learn it are too entrenched in another paradigm or aren't able to think abstractly enough. It's not the language's fault. It might be partly because they read the wrong learning materials.

bgar··on Existential crisis at Railsconf
You'd use a React wrapper such as Om[1] or Reagent[2]. These take advantage of React's DOM diffing and pair it with ClojureScript's immutable data structures.

1: https://github.com/omcljs/om

2: http://reagent-project.github.io

bgar··on John Resig annotates original jQuery source code
CoffeeScript's source is annotated in the same way.
bgar··on Ask HN: What tools do you use for development?
I write C/Scheme/Clojure/Haskell:

Cocoa Emacs with Evil-mode, iTerm 2, tmux, Vim for quick edits, git.

bgar··on Ask HN: Should I Downplay My Age?
Why do you want to stop using emacs?
bgar··on Ask HN: What language will you learn in 2015?
I'm going to be focusing on Clojure, JavaScript and Rust. First though, I'm taking a break from Clojure to read SICP and do the exercises/problem sets, because I think that's going to help in the long run. After that I'm reading Joy of Clojure and going back to working on web apps with ClojureScript and Reagent. As for JavaScript, it's easy to work with Node and I'm interested in React.js and WebGL so I'll just keep using it regularly. Rust is very appealing to me, and having just taken a course in assembly at uni, I'm craving some lower level programming. The documentation has improved considerably, right now I'm just working through Rust by Example (http://rustbyexample.com/) here: https://github.com/bryangarza/rust-by-example and then I want to make a Vi clone.
bgar··on Ask HN: What are the best developer conferences for 2015?
You can apply for financial aid and go for free. I did that for PyCon 2013.
bgar··on Ask HN: What do you use to access HN on your phone?
HackerQueue is pretty good http://hackerqueue.io, it also shows lobster.rs and /r/programming.
bgar··on JS1k demo: “Highway at Night”
Wow this is pretty awesome!
bgar··on Let's build an open-source Firebase with Couchbase
Well I mean if you just want to use replace Firebase you might as well use hood.ie directly, unless you want to build it yourself (in which case using just the database and layering functionality on top of that might be best). Hood.ie can be an out-of-the-box replacement for most of Firebase's functionality as it is.
bgar··on Let's build an open-source Firebase with Couchbase
CouchDB could be the starting point that we can build on top of.
bgar··on Let's build an open-source Firebase with Couchbase
I think http://hood.ie/ is promising.
bgar··on Using GNU Stow to manage your dotfiles
What I do is just keep all of the dotfiles in ~/dotfiles and symlink them to the home directory, then I can keep track of them with git. Doesn't have to be any more work than that. Maybe it's not an issue for me because I only use one machine, and when I switch to another, I just pull down my dotfiles from github and symlink them again. I only do this every couple years.
← PreviousPage 2 of 5Next →