HNHacker News
TopNewBestAskShowJobs

mattrepl

973 karma · joined March 24, 2008

Website: http://dynamictyping.org Email: mrevelle@gmail.com
submissionscomments
mattrepl··on I rewrote a Clojure tool in Rust
I believe they are saying the static type system and type checker provided by Rust helped them write complicated code.
mattrepl··on My simplified response to Paul Graham's simplified essay
He states some causes are good and some are bad.
mattrepl··on Why we’re no longer using Core.typed
There are also tentative plans to integrate core.typed with the Clojure compiler so type annotations can be used during compilation (e.g., type hints through inference).

There was a post about it, but the best I could find is a recent paper: http://frenchy64.github.io/papers/typed-clojure-draft.pdf

mattrepl··on A dataset of every Reddit comment
Closest thing to an answer I've found is from the licensing page: https://www.reddit.com/wiki/licensing

But it doesn't specifically address collection and distribution of API results as a dataset.

(From the page:)

A licensing agreement is required in order to:

* use the reddit API for commercial purposes. Use of the API is considered "commercial" if you are earning money from it, including via in-app advertising or in-app purchases. Open source use is generally considered non-commercial.

* use the reddit alien logo ("snoo") in your app or for its thumbnail. Any new apps you create must be approved as well before usage. The circular "r" logo is reserved solely for use by reddit, Inc.

* allow users to subscribe to reddit gold via in-app purchases. If your platform allows for it, we encourage you to work with us to make this happen. We see gold purchases as a way for you to help reddit and to give back to the reddit community.

mattrepl··on Hidden backdoor API to root privileges in Apple OS X
Just to clarify, this is _not_ a remote vulnerability. If it was a means to create a remote shell, then it would be. An attacker would need to first find some way to gain remote access and then could use this bug to gain root privilege.
mattrepl··on Hy – A dialect of Lisp that’s embedded in Python
What about Clojure seems dense or implicit to you? Clojure and Python have a similar feel to me. Both are well-designed in the sense they strive for a small set of primitives useful in solving a broad range of problems.
mattrepl··on Bumper-Sticker Computer Science (1985) [pdf]
Instant feedback makes coding more tangible but can be harmful. One may get caught in an edit-eval cycle and spend time solving the wrong problem.

Regularly stepping back and reevaluating assumptions/goals helps. (And write supporting tests, if you swing that way.)

mattrepl··on Meditation study shows changes associated with awareness, stress (2011)
Meditation is more concentration than relaxation.
mattrepl··on Game Programming Patterns now available in print and eBook
Thanks for writing the book! I first learned about it from here awhile back. It's extremely helpful to get an expert's take on the what and why of organizing game code.
mattrepl··on Why Not a Three-Day Week?
To play devil's advocate, what if the impact of a teacher inspired a student who eventually came up with a billon-dollar idea?
mattrepl··on Untapped opportunities in AI
Interesting that none of the methods in either short list are inherently probabilistic.
mattrepl··on Christ, I hate Blackboard
Piazza, a class discussion app, seems to have good adoption even at schools that use Blackboard. I'm hoping to do similar for homework collection with Classhand.

I expect a switch to a basic platform with apps like Piazza that offer tailored features/user experiences. Not unlike the Salesforce ecosystem. That may be Blackboard's future role.

http://classhand.com for those interested.

mattrepl··on OS X emulation layer for Linux
I think zw meant that the Cocoa binaries can't be distributed with Darling. That's not a major problem for users that have a copy of OS X. Darling can allow users to supply their own.

The potential issue you refer to would also prevent implementing the Cocoa API with Qt.

mattrepl··on OS X emulation layer for Linux
Using Qt as a Cocoa stand-in sounds complicated. Since Darling already uses its own loader and syscall hooking to provide compatibility for the program, why not do the same for a framework like Cocoa?
mattrepl··on Statistical Formulas For Programmers
You may like Wasserman's All of Statistics:

http://www.stat.cmu.edu/~larry/all-of-statistics/

It was written as an introduction to statistics for people in CS and related fields.

mattrepl··on Mt. Gox Dwolla account frozen by DHS
Noam Chomsky calls himself a libertarian-socialist and explains why it is not a contradiction in terms:

http://www.youtube.com/watch?v=wriQGI5NGOM

mattrepl··on Dependency injection is not a virtue
Adding function parameters solely for testing purposes is bad. However, poorly-designed functions are often difficult to unit test.

I don't know the entire backstory, but it appears someone wrote a publish! method that took a publish_time argument that was only intended to be used in testing. The problem is that the original code didn't properly support some publish_time values.

This is a good example of the library vs. framework distinction. Frameworks favor opinion over composition.

mattrepl··on How to Make Your Site Look Half-Decent in Half an Hour
Can you really identify the number of columns being used by looking at a layout? And is Bootstrap the only one to use 12-columns?

I've used Bootstrap as a starting point for several apps and have modified the grid setup before, but it wasn't because I thought it looked like Bootstrap.

mattrepl··on Why becoming a data scientist is not easier than you think
Machine learning is full of hacks to connect theory to producing results given constraints. That's not too different from hacks that are done for the sake of performance in graphics rendering.
mattrepl··on Tray.io - powerful email assistant
I'm not sure how they compare, but a friend of mine's company does something similar: http://www.awayfind.com

They provide similar filters and suggest filters from your communication behavior. E.g., you consistently respond to Peter Norvig quickly, perhaps you want an alert.

mattrepl··on StackOverflow unwinding?
I tried to do incremental editing of a self-answered question. As I was editing and improving the post, within 30 minutes of originally posting, my question was closed for not being a real question. Which was true, the original question was a problem statement.

I continued to improve the post, including the feedback from downvoters. However, I had to flag the post to have a mod reopen the question and none of the downvoters have returned to modify their vote.

It's annoying to end up with negative feedback after attempting to be helpful and taking time to improve a post. Maybe encourage closers to come back after a post is reopened?

For reference, the post: http://stackoverflow.com/questions/10748274/faces-are-black-...

mattrepl··on Predicting English keywords from JVM bytecodes
A little more information here: http://recon.cx/2012/schedule/events/245.en.html
mattrepl··on Software Engineering at Prismatic
The CEO, bradfordcross, is amazing at distilling good engineering to principles. Software engineering for hackers.
mattrepl··on Whats New in Emacs 24
I'm surprised no one else has said it, but just remap your Caps lock to Ctrl. You can then use your pinky or ring finger, as you prefer.
mattrepl··on Why the iPad is Destroying the Future of Journalism
It's indirect. If publishers have difficulty reaching their audience, so do journalists.
mattrepl··on Pair Programming Might Be Great
First, let's agree on the definition of mundane as used here. To me, your use of mundane suggests the task of writing a program after high-level questions, what and why, have received high-level answers. Everything but initial brainstorming.

The hypothesis introduced in the article is that pair programming is beneficial because it improves individual skills and code quality. I'm not sure how clearly that's communicated.

Individual skills are improved by understanding your current problem-solving process and upgrading it as necessary. This isn't only about picking up skills by observing others, but reasoning about the steps you take and updating as appropriate. Pair programming isn't necessary for this, it just facilitates it. This whole being mindful thing deserves a post of its own.

I would expect that code quality would be improved because design flaws and bugs are more likely to be caught early. Therefore there's less time spent rewriting or debugging.

I'm treating this foray into pair programming as an experiment. It was literally a week ago that I began to see how pair programming could be efficient and even enjoyable. I do not plan on doing 100% pairing forever, it's impractical and probably inefficient. Right now I'm thinking that 50-75% pairing might be an optimum in most cases.

mattrepl··on Pair Programming Might Be Great
I agree with your dislike for relabeling the mundane, but "pair programming" is used to indicate a specific form of collaboration which includes the the three points mentioned in the post.

The sort of collaboration you're referring to is what I'd call brainstorming. Pairing with someone only for brainstorming purposes would be wasteful.

mattrepl··on Is Quora the biggest blogging innovation in 10 years?
They have taken a use case of Twitter and Facebook and turned it into it's own product. People seem to enjoy using it but breathtaking is a bit much.

Also, what breathtaking technology innovation have they produced?

mattrepl··on Americans Are Horribly Misinformed About Who Has Money
I believe you want the Department of Veteran Affairs. The 2010 budget was $114 billion.

http://www.va.gov/budget/products.asp

mattrepl··on A response to "Erlang - overhyped or underestimated"
Erlang annoyed me in the same way. The syntax was fine, except for the comma or semicolon and period issue. Made moving code a pain.
Page 1 of 4Next →