Rising Internet Stupidity will be the downfall of Facebook

Facebook’s share price has plummeted over 70% this year, around 13% of it’s workforce, roughly 11,000 people were laid off. Investors are pulling away, advertisers have lost reliability, this year for the first time it’s daily user count has dropped since inception.

It seems to me that the illiterate, edgy boys have won; they have successfully ruined Facebook’s reputation and brought it to the ground. You would think this digital generation, who were born after Y2K, would be digitally literate, but it turns out most of them take technology at face value; they didn’t witness the transition in user experience, hence are largely oblivious to the intricate details of underlying complexities, and this reflects in their collective behavior as well.

Is there a way to both censor harmful speech and achieve healthy conversation with 100% accuracy across all cultures and political spectrums?

Then there are conspiracy theorists. Some clowns with tinfoil hats would say stuff like, “fAcebooK is sPying oN us bRo!!” So far, I haven’t figured out what that even means!

There are legitimate criticisms, and then there are conspiracy theories involving hyped-up media circuses, whistleblowers, and other such nonsense!

These clowns never ever talk about the Oversight board; they never talk about the extensive privacy settings. The thing is, they cannot talk about them because, as a developer, I have experienced this myself: Simplicity is better for users because they want many things, basically infinite controls. However, whenever we provide them those controls with extensive documentation and tips and manuals, they simply mess up and never understand how to use all of those features.

The same could be said of our constitution and penal code: if everyone had read them and understood their rights and limitations, we would have had a better society.

Anytime Facebook tries something innovative, these fucking dolts will have to ruin it for the rest of us. Say when Mark posted a virtual selfie in Horizon World, and the idiots swarmed in to troll how off the graphics look, like 90s graphics and what not, well, this entitled brats don’t understand that Meta is rendering that graphics in realtime for 1832×1920 resolution per eye, and that too without the use of a dedicated Desktop class computer.

Have you seen an 8K video inside of VR? Even 16K may appear blurry in VR; even a RTX 4090 may struggle to render at the highest settings in VR. But the stupid fucks and common trolls, of course, don’t pay any heed to such complexities.

I don’t know man, people have had it tough for sure in the last couple of years, but they have grown all their resentments towards tech giants and tech billionaires somehow, I don’t see much hatred towards billionaires from non-tech industries, but any day you come to the internet, you are almost certain to come across comments like, “Facebook is spying on us”, “Google is spying on us”, “Apple is spying on us”, “Jeff Bezos is Evil”, “Mark Zuckerberg is a Lizard”,” Bill Gates is illuminati”, “Elon Musk is a Man-child” and so on, at first glance, this might come off as mild banter or harmless memes but you would be surprised to find how much of this is internalised in today’s collective conscious.

All these things add up.

By vilifying these figures and corporations, these people may gain short-term victories, but there are harsh consequences, like layoffs, for example, and even worse if these tech companies stop building things because their visions are challenged so harshly at each step. Let us not forget that it was Zuckerberg who helped connect the world like never before, Elon who drove the global shift to electric cars and infrastructure, Bezos who believed cloud computing was the future, Bill Gates who eradicated polio, and Steve Jobs who gave us the smartphone era. Let’s not forget their contributions, and if you’re not grateful, at least don’t vilify them for trying.

May the Internet survive this wave of rising stupidity across the board.

Windows 11: A TikToker’s version of Windows 10

On this Tuesday morning, I jumped out of the bed and straight ahead went to check my PC health, whether I can install Windows 11 or not. While most OEM installed laptops bought within last 3 years should qualify for this upgrade, for Desktop computers it could be tricky. I know a lot of schools and computers that run decade old hardware, they most probably won’t be able to upgrade to Windows 11.

First thing I found was, TPM 2.0 was not enabled in my computer, that’s easy, went to BIOS settings and enabled it, I’m not running NVME SSD on PCIE 4 slots, so it didn’t complicate things.

Next, I got, Secure boot is not enabled. Now this complicates thing. I’m running on Legacy so for me to enable Secure boot, first I have to disable CSM, now to disable CSM first I need to convert my file system from MBR to GPT. all of these steps come with precautions.

Now, fortunately I wasn’t dual booting with any other OS at the moment so I went through all these steps and with a bit of luck didn’t encounter any problem while converting my OS drive to GPT.

Nothing could stop me anymore, so finally I installed Windows 11.

But now, what do I get in return?
— Start Menu doesn’t make sense anymore.
— Right click is horribly nerfed.
— Shift + Right click is fuckin gone.
— as Simple as Renaming file is now restricted in Quick access.
— Ryzen machines are slowing down by at least 15%

You can’t place the taskbar icons wherever you want. The widget thing, what the heck is that?? I’ll give someone a coke on a hot day to explain to me what that thing is. I mean on Windows 10 the weather on taskbar actually made some sense but this is shit.

After a day of use in my personal machine, I have already shifted the start button to Left position, otherwise every time you open a window start menu will keep moving to a different location.

Overall, I feel, Windows 11 is bright, colorful, dumb, and almost like a TikToker’s edition of Windows 10.

Mosquito classifier | Tensorflow

Researcher can use this classifier to automatically distinguish a particular type of mosquito from a large dataset
mosquitoes

Requirements

Usage

  1. Clone the project or download here

    git clone https://github.com/ultimatepritam/mosquito_classifier.git

  2. Start the docker image

    docker run -it -v ~/mosquito_classifier/:/mosquito_classifier/ gcr.io/tensorflow/tensorflow:latest-devel

  3. Run the mosq script to label the image

    python /mosquito_classifier/mosq.py <path_to_file>

Accuracy
accuracy.png

Results
resul.png

Cyber Attack: Wannacry 2.0 and Prevention

So thats pretty much what this ransomware is, it exploits a vulnerablility within Windows system and eventually encrypts all your files and data making your
computer completely unusuable, then it demands a handsome amount of ransom
to Decrypt your files and make your Computer usable again.

Over 2 million systems all over the world are already affected by it and of which
5% from India only.

The Indian government is trying every bit to prevent this attack. The Ministry of Electronics and Information Technology has organized a live session this morning
for awareness and prevention of this virus, they even mass mailed Indian citizens

Screenshot (811).png

HOW TO MAKE MYSELF SECURE?
This is the first question that comes to mind right now, so here is how you can do that:

Windows update MS17-010
The virus uses EternalBlue exploit, which is closed by Microsoft security update MS17-010 released in March. I recommend that you check update center for presence of such an update (by code) on your computer (for example, code for Windows 7 will be KB4012212 or KB4012215).

If updates are not installed, you can download them from official Microsoft website:

https://technet.microsoft.com/en-us/library/security/ms17-010.aspx

For older systems (Windows XP, Windows Server 2003 R2), Microsoft released special patches:

https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/

Close ports 135 and 445
To prevent penetration, block the ports 135 and 445 through which the virus penetrates (in most cases they are not used by ordinary users).

To do this, open the console with administrator rights (cmd.exe -> run as administrator). And execute in turn two commands (after each command there should be status OK).

netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=135 name="Block_TCP-135"

netsh advfirewall firewall add rule dir=in action=block protocol=TCP localport=445 name="Block_TCP-445"

Disabling SMBv1 support
The vulnerability can also be closed by completely disabling SMBv1 support. Run this command in cmd (run as administrator).

dism /online /norestart /disable-feature /featurename:SMB1Protocol


Smart stay
Apart from these technical methods I’ll additionally recommend you to Search Safe,
Surf Safe, that is for this time being don’t even browse or download from Untrusted
Websites, torrents etc. And if possible then avoid using Windows for this time being.
Dual boot a free Linux distro and you don’t have to worry about these.
Please do not open any email which has attachments with tasksche.exe
Or rather don’t download any email attachments for the time being.

WHAT TO DO IF I AM ALREADY INFECTED?

Well, thats definitely a bad news for sure but you have to take some important measures
If you find yourself infected then Do these without wasting time:

Immediately isolate the system from Network

Run cleanup tools and clean your computer of the virus, Download here 

Preserve the data even if its encrypted
So before cleaning up you might want to backup all your data in an external hdd,
Cause maybe in some days a Cure for this will be discovered and then you will be able to recover your data

If you are from India then Report the incident to CERT-In and local law enforcement agency

Send the Report to incident@cert-in.org.in

INDICATORS OF COMPROMISE

Ransomware is writing itself into a random character folder in the ‘ProgramData‘ folder with the file name of “tasksche.exe” or in ‘C:\Windows\‘ folder with the file-name “mssecsvc.exe” and “tasksche.exe“.

Ransomware is granting full access to all files by using the command:
Icacls . /grant Everyone:F /T /C /Q

Using a batch script for operations:
176641494574290.bat

use endpoint protection/antivirus solutions to detect these files and remove the same

FOR CYBER SECURITY RESEARCHERS
Hashes for Wannacry:

5bef35496fcbdbe841c82f4d1ab8b7c2
775a0631fb8229b2aa3d7621427085ad
7bf2b57f2a205768755c07f238fb32cc
7f7ccaa16fb15eb1c7399d422f8363e8
8495400f199ac77853c53b5a3f278f3e
84c82835a5d21bbcf75a61706d8ab549
86721e64ffbd69aa6944b9672bcabb6d
8dd63adb68ef053e044a5a2f46e0d2cd
b0ad5902366f860f85b892867e5b1e87
d6114ba5f10ad67a4131ab72531f02da
db349b97c37d22f5ea1d1841e3c89eb4
e372d07207b4da75b3434584cd9f3450
f529f4556a5126bba499c26d67892240

Network Connections
The malware use TOR hidden services for command and control. The list of .onion domains inside is as following:

  • gx7ekbenv2riucmf.onion
  • 57g7spgrzlojinas.onion
  • Xxlvbrloxvriy2c5.onion
  • 76jdd2ir2embyv47.onion
  • cwwnhwhlz52maqm7.onion
  • sqjolphimrr7jqw6.onion


IMPORTANT LINKS AND CONTACTS

http://www.cert-in.org.in
http://www.cyberswachhtakendra.gov.in/alerts/wannacry_ransomware.html

#FIX Ubuntu: Realtek 8723BE Weak WiFi

So, I bought my new Laptop on November 2015,  two months after my old Lenovo Z510 was stolen. And this is a hp pavillion with i5 6200U ULV Processor. Well, I couldn’t tell how much frustrating it was to downgrade from Ravaging quadcore i7 to an i5 that has only 2 cores. However, it couldnt be helped and I gotta improvise now.

Now, this laptop came with preinstalled Windows 10 but I am pretty much a Linux guy,
you see. So I needed to get any Linux distro running on my system asap.
I chose Ubuntu over any other Linux distro (2nd fav Fedora 😀 ), cause I’m very much fond of it.

I dual booted my laptop with Win10 and Ubuntu 14.0.4 LTS. It was running on top of latest Linux kernel 3.8.11 , after successfully installing Ubuntu I noticed someting,
I found that my WiFi signal is weak.

Screenshot from 2016-08-11 16-23-14.png

I was completely Stunned at this cause I was just sitting next to my router and my WiFI signal is just two bars only. Not only that it was getting disconnected often due to poor signal. I thought my WiFi driver is not updated so I quickly updated them using following commands:

$ sudo add-apt-repository ppa:hanipouspilot/rtlwifi
$ sudo apt-get update
$ sudo apt-get install rtlwifi-new-dkms linux-firmware

But it Didn’t work . It was a frustrating experience and no solutions could be found.
I thought then this might be a hardware issue so, I booted back to Windows and there
it was all acting normally . I was clueless . I searched in Ubuntu Forums but did found no suitable solution to this problem.

I reinstalled Ubuntu with a version upgrade 15.04
But the problem remained at it was. I thought this maybe some bug in Ubuntu, So
I decided to give it a try with other distros, so one by one Solus, Fedora 23, RedHat, Mint
I installed all these but got the same WEAK wifi signal in not only Ubuntu but in every Linux Distros.

I understood that the bug is in the Linux Kernel itself. So i tried to upgrade the Kernel  to latest mainline version . Even after upgrading the kernel the problem remained.

Months have passed during al these . And there was still no solution to this problem.
I subscribed to every forum concerning this problem. One day, I found something on
a forum about my wifi driver RTL8723BE . A folk named Jerry Gorland wrote some
intereseting things about this problem .

“…for my particular case (HP Stream 11-r010 Cloudbook with N3050 Celeron and HP Model No. 792204-001 30x22mm M.2 Wi-Fi card): Moving the single antenna cable from one connector to the other (as shown in the attached diagram) solved the problem. This would explain why the laptop worked only when sitting right next to the Wi-Fi router: With Linux the card is configured to use the other connector compared to Windows. Now I am two floors up from my router and connected well with Xubuntu 14.04. With Xubuntu, all the hotkeys work…”

In his case the problem seem to have solved after he moved the single antenna cable to the other connector. If you gut-open your laptop then you would probably found something like this. This is the Wireless chip (wlan) inside our laptops and as you could see in the top-left corner of the picture there are two connectors there. By default the cable is connected to port 1 . But in this case as Jerry suggested we have to change it to port 2 .

HP_Stream_11_WIFI_792204-001_30x22mm_Use_Port_1_Instead.png

Well, Jerry’s solution was risky but it was effective. People around the world were saying this is working. But too bad for me is my Laptop is still in warranty period I couldn’t just
gut-open my laptop and operate on it. I had to think of some other solution.

So, I researched a lot and learned that this may be a problem with the Driver Configuration in modprobe . Because the configuration was set up wrongly so the modules weren’t correctly loading into the OS Kernel . I reported this to Realtek  but they didn’t seem to take any notice of it. But, the good thing about Opensource community is here people help each other.

Screenshot from 2016-08-27 02-49-04.png
A FOSS developer named Larry Finger (aka lwfinger) decided to take things into own hands. And he created a new repository and rebuilted the drivers for rtl8192ce, rtl8192se, rtl8192de, rtl8188ee, rtl8192ee, rtl8723ae, rtl8723be, and rtl8821ae.

Now it was all good to go, downloaded the zip and then used simple make command to install it .

$ make
$ sudo make install

Now the problem should have been solved by now but somehow it remained . So, we figured it out that this still have the issue with the Antenna part . The hardware fixing part
was seemed impossible to avoid now. We did a last try using this command

$ sudo modprobe -rv rtl8723be
$ sudo modprobe -v rtl8723be ant_sel=2

It was an wild attempt to somehow manipulate the kernel to treat the 2nd antenna as active . And Guess what ?

IT WORKED  .

Quite miraculuosly! Did a quick scan around the networks . And it showed all networks with expected signal strength. But the setting wasn’t permanent after a reboot it’ll change back to default .

$ sudo iw dev wlp2s0 scan

But that is easy to handle . One just need to modify the modprobe configuration under root priviledge and save it as permanent.

$ sudo echo "options rtl8723be ant_sel=2" > /etc/modprobe.d/50-rtl8723be.conf

Signal strength is Excellent now! The Problem which consisted for so long a time period has now been solved. Finally : )
Screenshot from 2016-08-31 22-35-58.png

Life is all good now .

Windows 10 and|vs Android Lollipop True Performance Test

Okay, Here’s a statistical experiment,

Every Computer is basically a Calculator.
And do you know how to push a calculator to its limit?

The FACTORIAL function. Obviously, there are some other methods but it is the easiest one indeed.
So, I compared the new Operating Systems like,
WINDOWS 10 and Android Lollipop with Python 3.4.3 IDLE.
Firstly I checked the Famous 65! (Ya! the limit of most of the
CASIO Calculators).Then eventually I increased the value and while in,
fact(171)
Lollipop just gave up already!
Windows 10 and Python IDLE were pretty good actually,
They just kept going. I have to admit this Windows 10 is better in terms of performance than the previous versions of Windows.
But at last in,
fact(3249)
Windows 10 gave up too.
Lollipop had just shown upto 6 decimal numbers then it summoned
the exponential function to save his ass. Windows 10 had proudly
shown upto 30 decimal numbers and then did the same.
But, on the other side Python didn’t stop at all.
As I expected.screenshot2b25285532529Operating Systems are the greatest abstractions made by the developers. Developers focus on the User Interface of an OS to make it as friendly as possible but that compromises some serious computing performance. So, as the Python IDLE actually work at hardware level, it gets to use the Quad CORE i7 Processor at its full potential. Wonder how much it scored?

Actually Python is not an abstraction, It basically shows how much
my Processor is capable of. But still for the stat lovers,
I have tested fact(1000000)
Yes! ONE MILLION . and moreover I got the result as it is, without any kinda exponential drag. See the numbers and the scroll bar in the picture. So, you guys now might have an idea of how much potential and power your Processors houses, and how less you get to use actually, because of these abstractions!!
We have to make more efficient codes in the future, till then use CLI instead of GUI for greater and richer Computation, if you already know it teach other people. Do not rely much on GUI based Operating Systems.