Better HN
topnewbestaskshowjobs
Log inSign up

mattrepl

973 karma · joined Mar 24, 2008 (18y ago) · 152 submissions

Website: http://dynamictyping.org Email: mrevelle@gmail.com
Submissions

comment 5y ago · link · parent

I believe they are saying the static type system and type checker provided by Rust helped them write complicated code.

comment 10y ago · link · parent

He states some causes are good and some are bad.

comment 11y ago · link · parent

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

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.)

8.

Bumper-Sticker Computer Science (1985) [pdf](bowdoin.edu ↗)

81 points · by mattrepl · 11y ago · 18 comments

comment 11y ago · link · parent

Meditation is more concentration than relaxation.

comment 12y ago · link · parent

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.

11.

Game Programming Patterns now available in print and eBook(gameprogrammingpatterns.com ↗)

53 points · by mattrepl · 12y ago · 8 comments

comment 12y ago · link · parent

To play devil's advocate, what if the impact of a teacher inspired a student who eventually came up with a billon-dollar idea?

comment 12y ago · link · parent

Interesting that none of the methods in either short list are inherently probabilistic.

14.

Goals vs. Dreams(hughhowey.com ↗)

1 points · by mattrepl · 12y ago · discuss

comment 12y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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?

18.

Bitcoin suitcase eats your pocket change, spits out digital currency(theverge.com ↗)

4 points · by mattrepl · 13y ago · discuss

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Noam Chomsky calls himself a libertarian-socialist and explains why it is not a contradiction in terms:

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

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 14y ago · link · parent

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.

24.

Live coding (music) with Emacs Live(github.com ↗)

58 points · by mattrepl · 14y ago · 16 comments

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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-...

comment 14y ago · link · parent

A little more information here: http://recon.cx/2012/schedule/events/245.en.html

28.

Predicting English keywords from JVM bytecodes(keywords4bytecodes.org ↗)

1 points · by mattrepl · 14y ago · 3 comments

comment 14y ago · link · parent

The CEO, bradfordcross, is amazing at distilling good engineering to principles. Software engineering for hackers.
123456