Hacker Newsnew | past | comments | ask | show | jobs | submit | marekmroz's commentslogin

If you like fiction and satire, China Dream by Ma Jiang is good.


RE: Eve requiring Mongo, according to slide s 57-61 at https://speakerdeck.com/nicola/eve-rest-api-for-humans Eve supports pluggable backends - is Mongo really needed?


I think the architecture supports pluggable backends, but AFAIK mongo is the best supported (and is the only one I know much about). There is a backend for elasticsearch (https://github.com/petrjasek/eve-elastic) but I've never used it and don't know how complete it is. From looking on github support for SQLAlchemy is slowly in the works.


Admittedly, I only took a cursory look at Splinter, but in my opinion Robot Framework[1][2] is much closer to plain English. This can be good if you know what you're doing and can come up with consistent naming and test/keyword organization conventions, or bad if used by someone without basic understanding of a concept of a function, white space delimiters, etc.

Still, it is super flexible, and I enjoyed using is a lot. Nice feature is having executable requirements if BDD is used. I.e. you can implement keywords to execute given-when-then req's and they became your test.

[1](http://robotframework.org/) [2](http://code.google.com/p/robotframework/)


Funny thing is, as soon as I saw OP's solution I fired up IPython to do the same thing in Python. :)

Admittedly mine was not as elegant as I haven't thought of using izip with 3 iterables. Still, I don't think that lambda and islice is really needed... xrange(100) guarantees a finite number of iterations already.

   from itertools import *
   fizzer = cycle(['Fizz','',''])
   buzzer = cycle(['Buzz','','','',''])
   fizzbuzzer = izip(xrange(100), fizzer, buzzer)
   for f in fizzbuzzer:
       print f[1] + f[2] if f[1] or f[2] else f[0]

EDIT: the output from your version does not look right. "Fizz" and "Buzz" are on the wrong index positions. 0 1 fizz 3 buzz fizz 6 7 fizz buzz ...


heh you're right. Now I feel so dumb. Off by one error. I needed to use xrange(1, 100) instead of just xrange.

You're also correct islice is not needed.


Sounds like delusions of tech bro intelligentsia... [1]

[1] http://jacobinmag.com/2013/10/delusions-of-the-tech-bro-inte...


I don't see how this article is relevant at all.


It is not so much the specifics of the BART strike described in the article that I find relevant, as it is the general attitude displayed by the “lucky elite class of tech workers”. [1] There is certain mix of privilege, arrogance and ignorance reflected in the idea that all it would take to implement Obamacare is to give 20 start-ups $15M each, and the problem would be solved. Voila, a quick, easy and financially viable technical solution! Sadly, the problems runs much deeper than just the technology (see other comments reflecting on procedural and political issues hampering development, changing requirements, unrealistic expectations and so on), and to ignore the systematic issues is naive.

[1] Quoted from the linked article


I get where you're coming from, but it's not just the privilege issue. Fundamentally youth often has the ignorance to see the path to success where the more experienced can only see the roadblocks. Usually (especially in government) they'll quickly get clobbered by reality, but every once in a while they'll do something all the graybeards thought was impossible.

That's not to say hand-wavy armchair criticism of what is obviously a quagmire isn't annoying...


Jacobin is such an annoying magazine. Every time I commit to seriously reading (as opposed to skimming) one of their articles, I still come away with the same conclusion: that it contains almost no substance. Though I guess it's a pleasure to read the flowery language if you already agree with the premise.


"Rouge" whistleblower group? Really Ars? As opposed to what, an NSA approved whistleblower group?


> too many methods and layers of extraction

Surely, you mean abstraction?


Yes, was writing that in a hurry. :)


I don't know much about babies, but the way you phrased it made sound like "Beatings will continue until morale improves" approach.


>>> I haven't used OpenOffice in years

That's like eons in actively developed software. I believe giving LibreOffice a spin may change your notion of the quality of the OS alternative. As an anecdote, Excel 2003 has 65K row limit. In current LO it's ~ 1M rows if I remember correctly. I will admit that it is a bit apples to oranges, since Excel 2003 was created way back, but in practical terms, that is what I get on my office desktop. Being able to run LO as an alternative can be a life saver...


Except this is not what has been happening. There have been many stories reported of FBI actively trying to make someone into a terrorist. Some of the supposed perpetrators even contacted the police while under pressure from FBI to commit acts they would not want to do. Forgive me but I do not have time currently to dig up more than one, but this one I have fresh in my memory: http://www.thisamericanlife.org/radio-archives/episode/471/t...

It's a story of a sting/long con op gone really bad. Have a listen and see that it is nothing like the hypothetical that you posted.

Edit: If anyone is interested, more similar stories can be found in democracynow.org and bestoftheleft.com podcast archives.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: