marekmroz's comments

marekmroz | 12 years ago | on: PhantomJS, Selenium, and Django: Headless Browser Testing for the Rest of Us

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

marekmroz | 12 years ago | on: FizzBuzz solved using only bit twiddling

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

marekmroz | 12 years ago | on: “The real problems are with the back end of the software”

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

marekmroz | 13 years ago | on: City of Munich disagrees with HP's Linux migration study

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

marekmroz | 13 years ago | on: Iceland Kicked Out FBI Agents Who Flew in Unannounced to Investigate WikiLeaks

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.

marekmroz | 13 years ago | on: The Simple Math Behind Early Retirement

On the flip side, making more and more money just to spend it on useless crap that gives instant but short-lasting gratification is also silly. The way I see it, it's a scale, and hitting a balance, not striving for either of the extremes, should be a goal worth pursuing.

marekmroz | 13 years ago | on: Backbone.js v0.9.10 Released

I found the JavaScript Jabber podcast [1] to be a great source of information on front-end JavaScript Frameworks, as well as some discussion with framewor authors that can help figure out how they differ.

Backbone: http://javascriptjabber.com/004-jsj-backbone-js-with-jeremy-... Ember: http://javascriptjabber.com/034-jsj-ember-js/ Angular: http://javascriptjabber.com/032-jsj-angular-js/ Knockout: http://javascriptjabber.com/013-jsj-knockout-js-with-steven-... enyo: http://javascriptjabber.com/033-jsj-enyo-js/

[1]http://javascriptjabber.com/

marekmroz | 13 years ago | on: IBM Exec Husband of Aaron Swartz Prosecutor Takes to Twitter to Defend His Wife

I think he committed no crime other than maybe trespassing.

* MIT network was open * Everyone on this open network had access to the JSTOR articles * No EULA or any other agreement or license was presented to the user that would define what constitutes abusing the above mentioned privileges

Nobody is discussing whether he did the things he did. What we are discussing is whether anyone in their right mind would consider this a crime.

So there.

(edited to expand on my point)

page 1