News for hackers. Stuff that matters.

mattrepl

Re:I rewrote a Clojure tool in Rust on Monday December 21, 2020 @03:52PM (#25499408)
I believe they are saying the static type system and type checker provided by Rust helped them write complicated code.
Re:My simplified response to Paul Graham's simplified essay on Tuesday January 05, 2016 @12:13PM (#10844435)
He states some causes are good and some are bad.
Re:Why we’re no longer using Core.typed on Thursday September 24, 2015 @09:43AM (#10271504)
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

Re:A dataset of every Reddit comment on Saturday July 11, 2015 @04:53PM (#9871527)
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.

Re:Hidden backdoor API to root privileges in Apple OS X on Thursday April 09, 2015 @02:36PM (#9349881)
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.
Re:Hy – A dialect of Lisp that’s embedded in Python on Wednesday December 03, 2014 @07:40PM (#8697254)
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.
Re:Bumper-Sticker Computer Science (1985) [pdf] on Sunday November 30, 2014 @02:42PM (#8677813)
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.)

Meditation is more concentration than relaxation.
Re:Game Programming Patterns now available in print and eBook on Tuesday November 04, 2014 @12:55AM (#8555314)
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.
Re:Why Not a Three-Day Week? on Saturday August 09, 2014 @04:06PM (#8157879)
To play devil's advocate, what if the impact of a teacher inspired a student who eventually came up with a billon-dollar idea?
Re:Untapped opportunities in AI on Wednesday June 04, 2014 @10:32PM (#7849879)
Interesting that none of the methods in either short list are inherently probabilistic.
Re:Christ, I hate Blackboard on Saturday January 25, 2014 @10:47PM (#7123773)
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.

Re:OS X emulation layer for Linux on Monday August 05, 2013 @11:40AM (#6160749)
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.

Re:OS X emulation layer for Linux on Monday August 05, 2013 @09:42AM (#6160004)
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?
Re:Statistical Formulas For Programmers on Monday May 20, 2013 @08:36AM (#5737309)
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.

Re:Mt. Gox Dwolla account frozen by DHS on Tuesday May 14, 2013 @07:13PM (#5709033)
Noam Chomsky calls himself a libertarian-socialist and explains why it is not a contradiction in terms:

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

Re:Dependency injection is not a virtue on Sunday January 06, 2013 @04:15PM (#5017770)
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.

Re:How to Make Your Site Look Half-Decent in Half an Hour on Sunday December 16, 2012 @08:45PM (#4930433)
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.

Re:Why becoming a data scientist is not easier than you think on Tuesday October 16, 2012 @10:07AM (#4659868)
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.
Re:Tray.io - powerful email assistant on Sunday September 09, 2012 @10:30AM (#4495860)
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.

Re:StackOverflow unwinding? on Tuesday June 19, 2012 @12:19PM (#4132631)
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-...

Re:Predicting English keywords from JVM bytecodes on Thursday May 10, 2012 @01:48AM (#3952049)
A little more information here: http://recon.cx/2012/schedule/events/245.en.html
Re:Software Engineering at Prismatic on Thursday April 05, 2012 @01:24PM (#3803578)
The CEO, bradfordcross, is amazing at distilling good engineering to principles. Software engineering for hackers.
Re:Whats New in Emacs 24 on Sunday January 02, 2011 @07:45PM (#2061657)
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.

Older »