positivecomment | 8 years ago | on: Massachusetts is considering leaving the Eastern Time Zone
positivecomment's comments
positivecomment | 8 years ago | on: Write tests. Not too many. Mostly integration
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: Show HN: JSRobot – A platform game you play by coding in JavaScript
positivecomment | 8 years ago | on: China Bans Foreign Waste – What Will Happen to the World's Recycling?
Why doesn't recycling fully work?
Is the garbage generated from packaging higher in the countries where more recycling is made?
Sources with data and numbers would be very welcome.
positivecomment | 8 years ago | on: China Bans Foreign Waste – What Will Happen to the World's Recycling?
positivecomment | 8 years ago | on: China Bans Foreign Waste – What Will Happen to the World's Recycling?
positivecomment | 8 years ago | on: F-Droid 1.0 released
positivecomment | 8 years ago | on: Compute Engine machine types with up to 96 vCPUs and 624GB of memory
positivecomment | 8 years ago | on: Limit Internet access until your child makes progress on educational sites
There is no information about how it works, let alone some technical aspects - interesting, especially considering the name. About link doesn't work as well.
positivecomment | 8 years ago | on: Britain Moves to Criminalize Reading Extremist Material on the Internet
positivecomment | 8 years ago | on: Hello WebAssembly
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: Lazarus – A Delphi-compatible cross-platform IDE
C# has amazingly easy-to-read syntax, but maybe I'm biased because I'm most comfortable with C-like syntaxes.
positivecomment | 8 years ago | on: WannaCry ransomware bitcoins move from online wallets
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
This is an actual argument from the article.
positivecomment | 8 years ago | on: Roomba's Next Big Step Is Selling Maps of Your Home to the Highest Bidder
positivecomment | 8 years ago | on: MS Paint is here to stay
Later came the random console pop-up from the automatic WSL updates [1] and then I did panic enough to actually format all the things but that's another story.
positivecomment | 8 years ago | on: Microsoft Paint Is Deprecated in Fall Creators Update
positivecomment | 8 years ago | on: 153k Ether Stolen in Parity Multi-Sig Attack
positivecomment | 8 years ago | on: UK plans age verification for porn websites from 2018
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
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...