News for hackers. Stuff that matters.

brunov

Re:Call me maybe: etcd and Consul on Thursday June 12, 2014 @06:35PM (#7886405)
What's your opinion on exposing the option of stale vs. consistent read in the API? I can see cases where I'd be ok with a stale read while for others I'd like the most up-to-date value.
Re:Throttler: a Clojure library for rate limiting on Thursday May 15, 2014 @09:28AM (#7749261)
Hi, author here. I haven't tested it on ClojureScript yet, but since core.async is supported by CLJS I don't see the reason why it wouldn't work there as well.

If it doesn't, let me know on Github and I'll look into it! I don't have any experience with CLJS, but I'm interested in learning so it'd be a good excuse.

Re:Throttler: a Clojure library for rate limiting on Thursday May 15, 2014 @09:20AM (#7749224)
Hi, author here. That was exactly my motivation for writing it. There's all sort of middleware and plugins out there for throttling from the server side, but I found nothing that would let me control my own outbound API calls to a an external service in Clojure. I also wanted support for burstiness, and that was even harder to find.

I bet you could come up with other uses for it though. Someone told me over email they're planning on using it in traffic simulation for a game, for instance.

Re:Why I am excited about Clojure on Monday May 05, 2014 @10:31AM (#7698745)
I shared your worries about the turnover time for unit tests. But if you use something like [Midje][1] with the 'autotest' feature on, your tests will run in the background after each save. It typically takes a fraction of a second to run the full suite, so by the time I'm done hitting save and switching over to the midje console, the test results are already there.

[1]: https://github.com/marick/Midje

Aphyr's Clojure from the ground up [1] series is the best place to start in my opinion.

[1]: http://aphyr.com/tags/Clojure-from-the-ground-up

Re:JDK 8 Release Notes on Tuesday March 18, 2014 @09:37PM (#7426320)
Specifically, core.async brings Go-like goroutines (channels) to Clojure.
I'm positively sure that they did. The sad thing is that they still thought that it was worth doing. To me, that says a lot about where Google's priorities are today.
Re:Perl is not Dead, it is a Dead End on Sunday January 13, 2013 @12:12PM (#5051177)
> The question you may want to ask is why? By sounds of this talk it appears that his p5-mop proposal/work (https://github.com/stevan/p5-mop), which was originally mooted for perl 5.16, as probably been blocked by the Perl core team (p5p). It's a shame if that is what's happened :(

That's what he hints at in one of the slides. I'd like to know what exactly happened though, I was interested in that project.

Re:How to Get Startup Ideas on Monday November 19, 2012 @08:14PM (#4807259)
I remember thinking how atrociously bad the idea of limiting your expression to 140 characters (or any other short limit) seemed to me. And here I am, going on my third year of being an avid Twitter user.

Sometimes ideas play out in interesting, new ways. I very much doubt that the originators of Twitter thought of even half the ways their service is being used today.

Re:Automatic Grading of Code Submissions Isn't Perfect Either on Sunday October 28, 2012 @09:37AM (#4708887)
Most of the CS courses I've taken from Coursera already do all those things. The Algorithms course from Prof. Sedgewick in particular had an excellent test suite for its programming assignments.

You were graded on complying to an interface, code style, correctness, performance and memory usage, with strict requirements on the latter two. You couldn't get away with, say, implementing a brute force solution and calling it a day, you had to solve the problem optimally.

Re:Functional Programming Principles in Scala starts today on Tuesday September 18, 2012 @12:28PM (#4538958)
I received an email yesterday and another one this morning.
Re:MIT and Harvard announce edX on Wednesday May 02, 2012 @11:20AM (#3919499)
On the other hand, I find the Coursera classes much better in quality. At least the CS ones seem to have a more formal and rigorous tone, which is something that I value more than presentation.

I agree though, the Udacity lectures are more engaging.

Re:Waffles - Machine Learning command line tools on Monday March 21, 2011 @06:48PM (#2352013)
Not even in Reddit would that comment be welcomed.
Re:Ask IBM's Watson Research Team Anything on Thursday February 17, 2011 @05:46PM (#2233244)
Try sorting the questions by "best". The quality seems to improve a bit.
Re:Breakfast is Overrated on Friday November 12, 2010 @06:15PM (#1899676)
You are right, of course.
Re:Breakfast is Overrated on Friday November 12, 2010 @04:43PM (#1899408)
No, the brain can only use ketone bodies after days of carbohydrate deprivation. You can't achieve ketosis overnight by skipping breakfast.

If there's not enough glycogen in the liver and/or muscles and you are not getting any sugar from food, the body starts degrading your bodies' protein to convert glucogenic aminoacids to glucose, and thus maintain blood glucose levels and avoid fainting.

Re:What’s new in Perl 5, Version 13 on Thursday September 30, 2010 @07:52AM (#1742968)
When the spec itself is as feature rich as Perl 6 is, having an 80% complete implementation still accounts for a very usable, very feature rich language to play with and implement useful programs in.
Re:PepsiCo Reduces Sodium by Restructuring Salt on Tuesday April 27, 2010 @05:06PM (#1299724)
What makes you think they are using enzymes?
Re:PepsiCo Reduces Sodium by Restructuring Salt on Tuesday April 27, 2010 @05:05PM (#1299720)
No, the Na:Cl ratio should still be 1 to balance off the charges.

It's probably reducing the size of the salt crystals so that it disolves in your saliva quicker, allowing for the same taste with less mass of salt.

Re:How to implement Perl 6 in 2010 on Wednesday April 21, 2010 @08:59AM (#1282040)
blush

Updated, thanks for the correction audrey.

Re:Five (+ 1) Things I Hate About Python (and then five more) on Saturday March 27, 2010 @02:10AM (#1222653)
I think he's talking about having to use C for Python's core code.
Just like Sweeperbot! http://sweeperbot.org/
Re:How the Linux desktop shoots itself in the foot. on Thursday October 15, 2009 @08:57AM (#883266)
Regular users shouldn't have to edit files in /var/ or /bin or anything other than /home/sixpackjoe.

If you are savvy enough to know what you are doing editing system files, then you should know about doing so from the command line using sudo, or use gksudo as pointed before.

Older »