Better HN
topnewbestaskshowjobs
Log inSign up

brunov

153 karma · joined Apr 6, 2009 (17y ago) · 38 submissions

http://brunov.org http://github.com/brunov http://twitter.com/brunovi
Submissions

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

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

comment 12y ago · link · parent

Specifically, core.async brings Go-like goroutines (channels) to Clojure.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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

9.

Perl is not Dead, it is a Dead End(speakerdeck.com ↗)

38 points · by brunov · 13y ago · 13 comments

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

I received an email yesterday and another one this morning.

comment 14y ago · link · parent

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.

comment 15y ago · link · parent

Not even in Reddit would that comment be welcomed.

comment 15y ago · link · parent

Try sorting the questions by "best". The quality seems to improve a bit.

comment 16y ago · link · parent

You are right, of course.

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

What makes you think they are using enzymes?

comment 16y ago · link · parent

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.

comment 16y ago · link · parent

blush

Updated, thanks for the correction audrey.

22.

How to implement Perl 6 in 2010(pugs.blogs.com ↗)

14 points · by brunov · 16y ago · 12 comments

23.

Perl 5 development resumes, version 5.12 released(arstechnica.com ↗)

8 points · by brunov · 16y ago · 1 comment

comment 16y ago · link · parent

I think he's talking about having to use C for Python's core code.

25.

Class decomposition and a handy delegation pattern(bofh.org.uk ↗)

2 points · by brunov · 17y ago · discuss

comment 17y ago · link · parent

- http://www.takkle.com/college_recruiting/athletes

- http://duckduckgo.com/

- http://www.yellowbot.com/

- http://osx.iusethis.com/

- http://www.thumb-rate.com/

- http://hiveminder.com/splash/

many more here: http://www.catalystsites.org/

27.

Simon Cozens on PSGI/Plack(simon-cozens.org ↗)

5 points · by brunov · 17y ago · discuss

comment 17y ago · link · parent

Just like Sweeperbot! http://sweeperbot.org/

29.

Authenticated Encryption(blog.woobling.org ↗)

11 points · by brunov · 17y ago · 5 comments

comment 17y ago · link · parent

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.

12