Monero Mining Ban or How to Ban yourself from Google

I’m back

I haven’t posted in a while. Mainly because I was really busy with my morning job, and a lot of other stuff in the between. For all of you who actually kept in line with my blog I would have to say I have done a lot the past 3 years, career-wise.

This post is going to be mainly for talking about Crypto Currency mining, and the related technology.

Fintech

I have worked a lot in the Finance Tech Sector, even before it was the hot word. Unfortunately I didn’t have enough time to actually delve into the Crypto Finance part, only up until recently.

I decided I should have a look at the technological / mining part of a Crypto Currency.

Of course since I am primarily an engineer and not a coder, I decided that the mining must be done in a distributed way and not in a dedicated way most people without any specific technical background do… And that was the issue unfortunately.

Monero JS Mining

 

Even though my current morning job doesn’t include a lot of JavaScript (or ECMAScript as they renamed it nowadays), I still have some juice left in me. So since JS rules the world language-wise, the logical approach would be a JS miner. There is only one js-miner.  And also a nicely laid-out service is  Coin-Hive (I’m not linking the site as it will be marked as a malware, more on that later). The crypto currency is Monero (XMR), and it is mainly developed for mining using a CPU and not any specific ASIC just as Bitcoin or Ethereum are. Which also makes it more profitable in my opinion to mine right now, without actually having a monster like computer, which is needed to mine all the other currencies…

Profitablility

Ok, lets face it mining using others pc’s is not that profitable.
Having something like 30-40 visits per day on your website with an average stay of 1-2 mins could probably give out something like 10 cents per day, with roughly 1M hashes.

So it turns out that a lot of people had the same idea as me (a few months back) by using the browser’s V8 to run mining software.

Unfortunately users do not appreciate this. They do not appreciate ads, but also not their CPU spiking up a bit as they like to browse a site they might benefit from.

Frankly, I find this offensive. Especially from google’s part since I managed to set up a distributed miner. I distributed it’s source code (based on a flavour of CryptoNight algorithm) and mining software between some of my sites, using my github account to host the files for the miner, and a few other freeware sites for proxying the traffic for the mining pool.

The Monero Mining Ban

My github account was banned. Also my sites as well. Google thought that all my sites have been hacked and that they were infected with a malware.

Google sent me a lot of e-mails that my sites were infected, and that I should clean them. Apparently it is illegal to serve these assets even if you specifically ask permission from the users (or just simply notify them for this). So, users don’t like ads, since they are using an adblocker, and they don’t like also using their CPU for mining. OK, I get it. We just have to pay for domains and servers for ourselves, for the code and the brain power we burnt to create the content, and just give this away for nothing. Nice. Even though if I somehow have a guy who still owes me a lot of money for a website I helped him create and I don’t want to put him out of business by just closing it down.

Should you need any more info let me know to help you if you want to setup your own JS mining rig.

PS. I have started working on another big open source project which is really nice, you will hear from me again.

The Useless Web

Ah, the Internet. A place where most people can do their job a lot faster. A place where people can express also whatever the heck they feel. I’m one of those people. Plus some give or take more or less skills.

The birth of this Website

was mainly to express some frustrations while working as a software engineer, but also to report some findings my colleagues find during this endeavour.

Useless

That’s a word it has a very good meaning. For most of the people, quite the opposite, but, damn, when you’re useless you are funny (sometimes).

To the point then :

You have to click 2-3 times for the javascript to work.
You have to click 2-3 times for the javascript to work.

A colleague found The Useless Web

An awesome site (of which gave me the idea of a trolling based context site), contains 1 javascript which after each click gets you to a

Completely Useless, Pointless, (and sometimes Offensive) Site.

Author is Tim Holman and I quote what he says:

The Useless Web… because some websites, we just couldn’t do without.

Damn right! Some sites in there are PURE GOLD.

 The Staggering Beauty

Move cursor violently and you'll see the beauty behind this ugly  worm like being.
Move cursor violently and you’ll see the beauty behind this ugly useless worm like being.

 

And classics such as “Is it Christmas?

This one I think the guy also changed it. Now it resolves your IP and responds in your language :D.

Useless you say ?

Well I got one more step further. Below you will find all the sites featured in the master site , of which I got them from his source code.

Have fun 😀

var sitesList = [
['http://heeeeeeeey.com/', false, 7],
['http://cant-not-tweet-this.com/', false, 7],
['http://eelslap.com/', false, 5],
['http://www.staggeringbeauty.com/', false, 7],
// ['http://www.omfgdogs.com/', false, 7], Down 🙁
['http://burymewithmymoney.com/', true, 7],
['http://www.fallingfalling.com/', true, 3],
['http://ducksarethebest.com/', false, 7],
['http://www.trypap.com/', false, 4],
['http://www.republiquedesmangues.fr/', false, 7],
['http://www.movenowthinklater.com/', false, 6],
// ['http://www.hristu.net/', true, 6], Down 🙁
['http://www.partridgegetslucky.com/', false, 6],
// ['http://hectorsalamanca.com/', true, 5], Big fat donate button
['http://www.rrrgggbbb.com/', true, 7],
['http://beesbeesbees.com/', false, 3],
['http://www.sanger.dk/', true, 4],
// ['http://www.idiotic.com/', true, 7], Down 🙁
['http://breakglasstosoundalarm.com/', false, 3],
['http://www.koalastothemax.com/', false, 7],
['http://www.everydayim.com/', false, 7],
['http://www.leduchamp.com/', true, 7],
['http://www.geodu.de/', false, 4],
['http://grandpanoclothes.com/', false, 6],
['http://www.haneke.net/', false, 7],
// ['http://instantostrich.com/', true, 7], Lame banner
['http://r33b.net/', true, 6],
['http://randomcolour.com/', false, 6],
['http://cat-bounce.com/', true, 6],
['http://www.sadforjapan.com/', true, 5],
['http://isitchristmas.com/', false, 5],
// ['http://infinitefrogs.com/', false, 5],
['http://www.taghua.com/', true, 5],
['http://chrismckenzie.com/', true, 6],
['http://hasthelargehadroncolliderdestroyedtheworldyet.com/', false, 5],
['http://ninjaflex.com/', false, 4],
['http://iloveyoulikeafatladylovesapples.com/', true, 6],
['http://ihasabucket.com/', false, 4],
// ['http://www.feedthehead.net/', true, 5], Iphone banner
['http://corndogoncorndog.com/', false, 4],
// ['http://www.oppositeofpoop.com/', false, 4], Down
['http://giantbatfarts.com/', true, 4],
['http://www.ringingtelephone.com/', true, 6],
// ['http://chickenonaraft.com/', false, 4], Went down.
['http://www.pointerpointer.com/', false, 4],
['http://www.pleasedonate.biz/', false, 5],
['http://imaninja.com/', false, 3],
['http://willthefuturebeaweso.me/', false, 3],
['http://salmonofcapistrano.com/', false, 3],
['http://www.ismycomputeron.com/', false, 5],
['http://www.ooooiiii.com/', true, 3],
['http://www.wwwdotcom.com/', false, 3],
['http://www.nullingthevoid.com/', true, 6],
['http://www.muchbetterthanthis.com/', true, 5],
['http://www.ouaismaisbon.ch/', true, 3],
// ['http://cutmeoffmidfunk.com/', false, 4], Down now
['http://iamawesome.com/', false, 3],
['http://www.pleaselike.com/', false, 7],
['http://crouton.net/', false, 3],
['http://corgiorgy.com/', false, 3],
// ['http://www.clicktoremove.com/', false, 3], Lame external link
// ['http://dastardlydigitofdestiny.com/', false, 3], Sloooow
['http://www.electricboogiewoogie.com/', true, 6],
['http://www.nelson-haha.com/', false, 6],
['http://www.wutdafuk.com/', false, 6],
['http://unicodesnowmanforyou.com/', false, 3],
['http://tencents.info/', false, 3],
['http://intotime.com/', true, 4],
// ['http://haveahairymovember.com', false, 4], Broken
['http://leekspin.com/', true, 3],
['http://minecraftstal.com/', false, 4],
['http://www.riddlydiddly.com/', false, 5],
['http://www.patience-is-a-virtue.org/', false, 2],
['http://whitetrash.nl/', false, 2],
['http://www.theendofreason.com/', false, 2],
['http://zombo.com', true, 1],
['http://secretsfornicotine.com/', true, 1],
['http://pixelsfighting.com/', false, 1],
['http://crapo.la/', false, 1],
['http://baconsizzling.com/', false, 1],
];

P.S. Browse the above sites with your own consent.

5 Programming Languages Marked for Death

Now, every developer has some preferences

Preferences depending on the language he or she wishes to write to. But as people evolve and new technologies arise languages are more or less being used by people. By the time some people abandon a language, there is high chance this language will die.

Quiz: Name the Movie.... :D
Quiz: Name the Movie…. 😀

According to Dice.com…

The future dead languages are the following:

Perl

There was a time when everyone seemingly programmed in Perl. But for those of us who used the language regularly, there was something about it that didn’t seem right. One programmer I knew called it a “piecemeal” language, because it seemed as if the creators had just piled features on top of features without giving much thought as to how everything fit together. Indeed, even its creators seemed to (implicitly) acknowledge that something was wrong, kicking off work on Perl6, currently under development as a complete revamp of the language. Work on Perl6 started in… the year 2000. Where is it? Who cares? Perl is dead. Don’t bother learning it. Incidentally, here’s a “Goodbye World!” written in Perl:

#!/usr/bin/perl
 print “Content-type: text/html\n\n”;
 print “Goodbye, world!\n”;>

Ruby

Just ten years ago, Ruby was all the rage. Invented in 1995, the unique language hit its stride by themid-aughts. People who use Ruby on a regular basis absolutely love it. But those of us who grew up with C-style languages tend to have a little trouble learning its ropes. Here’s a simple “Goodbye World!” in Ruby:

puts ‘Bye bye, Miss American Ruby! Drove my Chevy to the Levie…’
puts ’2011 was the day that Ruby died, yeah…’

By all accounts, it’s a cool language and everybody has good things to say about it… except Twitter. In April 2011, Twitter announced that they had rewritten much of their code in order to move away from Ruby and its popular Web framework, Ruby on Rails, claiming the platforms were inefficient. That, I would argue, was the day Ruby started to die; over the past three and a half years, interest has begun to wane. If you love Ruby, you can thank Twitter for its demise.

Visual Basic.NET

Ten years ago, I landed a job rewriting massive amounts of code for a company that shall go nameless, converting from VB6 to Visual basic.NET. I only lasted a couple months before I bailed: It was an excruciating task. Microsoft’s long love of the BASIC programming language extends all the way back to 1991, when the company purchased a pretty awesome (for its time) visual programming designer from Alan Cooper. He originally used a different language, but Bill Gates told him to replace the language with BASIC, which he felt was the easiest language in use at the time. For most of the 1990s, we got to see this new breed of BASIC, dubbed Visual Basic, grow to include objects and other newer programming techniques. Then something interesting happened. The guy who headed up the creation of Borland Delphi, Anders Hejlsberg, moved over to Microsoft and headed up the creation of a new language called C#. This language was very similar to Java. It took a while for people to start using it, but once they did, they loved it. C# soon became Microsoft’s flagship programming language. To this day, there are many, many C# jobs, and C# programmers command high salaries. While Microsoft created C# to target its own CLR runtime, its engineers also created a version of Gates’ beloved BASIC language, named it Visual Basic.NET. The language still bore the syntax of BASIC, but the coding approach was similar to that of C#. Both languages moved forward, but it was inevitable that the world would embrace one (C#) at the expense of the other. That’s why Visual Basic.NET has been reduced to C#’s little stepbrother in hospice care. Here’s a Visual Basic.NET program from Microsoft’s website:

‘ Allow easy reference to the System namespace classes.
Imports System
‘ This module houses the application’s entry point.
Public Module modmain
   ‘ Main is the application’s entry point.
   Sub Main()
     ‘ Write text to the console.
     Console.WriteLine (“Hello World using Visual Basic!”)
   End Sub
End Module

Adobe Flash and AIR

Technically these are platforms, not languages. I’m including them because, in order to use them, you need Adobe’s own version of EcmaScript, called ActionScript. ActionScript is a close cousin to JavaScript, which (love it or hate it) is one of the most popular languages today due to its implementation in all browsers. ActionScript adds a few details to EcmaScript (which is the official name of the standard, of which JavaScript is an implementation); you won’t really find ActionScript anywhere except for Adobe Flash. Do you use Flash? Steve Jobs hated how it hogged his devices’ processors, and refused to allow it onto the iPhone. As the iPhone (and subsequently the iPad) grew in popularity, Web developers found themselves forced to create websites that didn’t rely on Flash. Developers who made a living coding up ActionScript for Flash-powered sites screamed bloody murder. (I personally saw a Flash developer tell off a room of JavaScript developers for destroying his career.) Adobe tried to keep its programming platform alive via AIR, paired with a tool for building AIR apps called Flex. AIR was, in the estimation of many, a disaster. It wasn’t clear what Adobe wanted out of the whole process; did they want people to ditch Flash and use AIR instead? Or were they expecting AIR and Flash to live on together? For a short time it looked as if AIR would take off, thanks to its use in a popular Twitter platform called TweetDeck, which required users to install the AIR runtime on their computers. That might have opened up millions of PCs for AIR apps, except Twitter bought TweetDeck in 2011 and rewrote it using native code instead of AIR. So much for AIR. And between the deaths of both Flash and AIR, Adobe’s ActionScript can kiss the world goodbye as well. Here’s some sample ActionScript code. (If you use the Flex command-line tools you can compile this into a Flash thingamajob that you can embed in an HTML page):

package {

import flash.display.*;

import flash.text.*;

public class HelloWorld extends Sprite {

private var greeting:TextField = new TextField();

public function HelloWorld() {

greeting.text = “Hello World!”;

greeting.x = 100;

greeting.y = 100;

addChild(greeting);

}
}
}

Delphi’s Object Pascal

With sincere apologies to my fallen Delphi comrades, I must announce the death of Object Pascal. Okay, Delphi (the tool for developing Object Pascal) actually lives on, having moved between companies (it originated with Borland, and now sits with Embarcadero). The original Delphi and its Object Pascal language actually presented a great working environment; the language was a bit wordy, but the compiler was fast and it was much easier to create Windows programs in compared to Visual Basic (I’m talking pre-Visual Basic.NET here, around 1995). The momentum didn’t continue. It’s hard to say just why, since the platform was really quite good. Meanwhile, Borland began supporting C# and C++ in its Delphi line of products. Long story short, Delphi was eventually sold off to Embarcadero, which continues to produce it. It’s big, and it’s sophisticated, and continues to do reasonably well—but its focus is not Pascal. Yes, you can still do Pascal programming in it, but few people do; in fact, you can use Delphi to build for many different platforms including iOS, Android, and, soon, Linux. But if you go to the Embarcadero website, you’ll see that they mainly promote Delphi’s C++ support. So, Object Pascal is dead. I say this with sadness, as I’ve spent quite a bit of time programming in Pascal and especially Delphi’s Object Pascal. But that’s life. 5 Programming Languages Marked for Death.

Coding and Peculiar Tech Blog of a Web Dev.