positivecomment's comments

positivecomment | 8 years ago | on: Massachusetts is considering leaving the Eastern Time Zone

Somewhere along the way to 10s, we lost the work flexibility. "I took care of my kids for 5 years" gets your CV discarded in an instant. So both parents, not always because they need the money, but very frequently because they're afraid to lose their career, choose to keep working.

positivecomment | 8 years ago | on: Write tests. Not too many. Mostly integration

> as much as you can into static helper functions and most of the rest into dumb private stateless functions

In our work we use C# and it is very hard, even next to impossible to make a static class pass a code review - given it's not for extension methods (which I hate... why not be explicit about the first parameter and stop acting as a part of the class </rant>). They just tell us to use IoC and move to the next point. I honestly don't know why. Our IoC library can treat a dependency as static or singleton, but those are also discouraged. Once I had a static class named GraphRequestHelpers* and the reviewer got really negative, FSM knows why. She told me that we need IoC to make everything testable and "Helper" in the name is a code-smell. Sounds cargo-culting to me but I have only 6 years of experience so who I am to know.

* Now we have RequestExtensions and everything is apparently perfect.

positivecomment | 8 years ago | on: Hello WebAssembly

> WebAssembly has the potential to say play video games, including AAA titles, without having to install anything on your computer.

It depends on how you define "being installed". All files living on FileAPI and IndexedDB does not make too much difference than using direct file access and SQLite. They will be cached and they will live on your computer. Well, at least until your browser faces storage pressure and decides to randomly delete website data.

I mean, yeah, everything lives in a sandbox and there's potentially less security issues. Not having to give admin privileges to an application which allows you to build houses out of blocks is a good idea. On the other hand, the capabilities of the platform is increasing like crazy and it's just a matter of time before it converges with the operating system itself.

So, I don't know. The whole situation is weird. I think we needed better operating systems with granular permissions and we're getting there using a very convoluted way.

positivecomment | 8 years ago | on: WannaCry ransomware bitcoins move from online wallets

Disclaimer: I'm not well informed about crypto-currencies. This is just to test if I'm understanding correctly.

So you are doing mixing. One of your users is a criminal, and that is apparent to you as you can trace where their coins came from. In your stash, you have 100BTC, 10 of which is the share from the criminal. He/she orders 1BTC to be transferred to a private wallet. You make a transfer to the private wallet from your stash, but you know exactly who gave the order. When the police comes to you, you will be forced to tell them who gave the order. Am I missing something? If I'm correct, then the attacker has to trust the mixer.

positivecomment | 8 years ago | on: We Evolved to Run But We're Doing It Wrong

"Treadmill is bad because it was invented as a torture device and one famous person died three years after doing it excessively. It is like running without any of the good stuff".

This is an actual argument from the article.

positivecomment | 8 years ago | on: UK plans age verification for porn websites from 2018

Yeah, also the same for Turkey under the dictatorship of Erdoğan. Internet there is amazingly robust. They also iterate among beautiful blocked page designs for artistic freedom: https://www.google.com/search?q=eri%C5%9Fim+engellenmi%C5%9F...

Back when this craziness started, they had even blocked the sites giving STI information because they had "sex" in them. Not sure how it is right now.

The promotion in any form for alcoholic beverages are banned too. This is the web site for the biggest beer maker: http://efespilsen.com.tr/ (It says basically that according to a change in regulation, they aren't allowed to have a customer-facing website anymore).

positivecomment | 8 years ago | on: UK plans age verification for porn websites from 2018

Anecdotal evidence (myself) suggests that those effects, if there is any at all, would not be significant :)

I do wonder though, how do you scientifically analyse that? Ask people if they were exposed to porn as a kid to pick your evaluation candidates? That'd be unreliable. Expose some underage people to porn (horrible) and evaluate them after tens of years? I don't think so...

page 2