TechBlog

Set a Permanent Custom Resolution on Ubuntu and KDE with xrandr and Xsetup

Published: May 24, 2018 Reading time: 4 min

TL;DR Generate a modeline with cvt, add it with xrandr --newmode / --addmode, then enable it on your output. Session-only changes vanish on reboot and never fix the login screen. On KDE/Kubuntu with SDDM, put the same commands in Xsetup so they run before the greeter. After I switched from GNOME/Unity to KDE, SDDM would not pick up my ultrawide panel. It stuck at Full HD instead of 2560×1080. I had hit the same class of problem earlier on Ubuntu with an older monitor whose native mode never showed up in the display settings. ...

Continue Reading

Google Chrome in Ubuntu keeps detecting network change

Published: July 6, 2017 Reading time: 1 min

Recently I had problem with my Ubuntu, Whenever I tried to open a website my Chromium told me that a Network Change has been detected and after 1-2 reload that sites would load and sometimes failed to load fully. After looking up for that problem, I found out many other people had same problem and it has something to do with “avahi-daemon”. Solution According to the links I found in Ubuntu forums, this problem comes from IPv6 in Ubuntu and disabling that service will fix it, I tried it and it worked: ...

Continue Reading

From Laravel and AngularJS to Spring Boot and Angular: A Full-Stack Migration Field Report

Published: May 22, 2017 Reading time: 10 min

In January I wrote about moving our frontend from AngularJS to Angular. That migration is still running — we are on Angular 4 now, which shipped in March and turned out to be a painless bump from 2.4. The bigger shift landed on the backend: our APIs used to live in Laravel, and we are rewriting them in Java with Spring Boot 1.5.3. This is my first real Java project. I have years of PHP — mostly Laravel — and a few months of TypeScript from the Angular work. I also wrote C# in college, which turns out to matter more than I expected. Java does not feel like learning a foreign language. It feels like meeting someone who speaks a dialect you half understand. ...

Continue Reading

Test Gnome on Ubuntu and Rescue Back

Published: February 9, 2017 Reading time: 2 min

How it started A few days ago I just decided to give my Ubuntu a new look and experience. I thought KDE is not in a good situation and maybe Gnome 3 is a better option than Unity. The easiest option to try Gnome on Ubuntu (Without a clean install of OS) is to install it as a package: 1 sudo apt-get install ubuntu-gnome-desktop During the install process it asks for Display Manager, you have options to choose, gdm and lightdm, since I want to try Gnome, I select gdm: ...

Continue Reading

Six Months with Angular 2 After Years of AngularJS

Published: January 18, 2017 Reading time: 10 min

Angular 2.0 shipped in September. We are on 2.4 now, and the release train is already moving — Angular 4 is being talked about openly. I have been building with it since October, migrating a medium-sized internal dashboard that lived in AngularJS for three years. This is not a tutorial and not a verdict. It is a field report from someone who still dreams in $scope sometimes. The context nobody warns you about If you spent years on AngularJS, you did not “upgrade.” You rewrote. Google offers ngUpgrade to run both frameworks side by side, and we tried it for two weeks before giving up. Our app had too many directives, too much implicit magic, and too many $watches buried in places nobody remembered. We picked a greenfield module, scaffolded it with the CLI, and started porting feature by feature. ...

Continue Reading

Laravel, From the Eyes of an Old-School Developer

Published: February 12, 2016 Reading time: 7 min

I started my programming life in a different world. Back then, Visual Basic 5 and 6 felt like magic. You could drag a button onto a form, double-click it, write a few lines of code, and suddenly you had a working Windows application. You did not start by arguing about architecture. You started by making something useful appear on the screen. Later came AutoIt, classic ASP, small server-side scripts, admin tools, automation helpers, and a lot of “just make it work” programming. Some of it was ugly. Some of it was clever. A lot of it lived longer than expected. ...

Continue Reading

All the world's a Stagefright

Published: October 9, 2015 Reading time: 1 min

Here’s how security vulnerabilities are supposed to be handled. One, a researcher discovers an issue. Two, the people who make the software find a solution. And three, the solution is then made available, ideally by automatic update. That’s what Windows does, and what Apple does. It isn’t always as fast as it should be, but at least once the fix exists it’s available almost instantly. Here’s how it works with Android. ...

Continue Reading

Facebook farewells flaky SHA-1

Published: June 5, 2015 Reading time: 2 min

Facebook has set the date: on September 30, the ancient and creaking SHA-1 hashing algorithm will make its tumbril trip and get the chop. SHA-1, designed by the NSA in 1995, is a one-way algorithm: a block of data is turned into a message digest. The digest can’t be turned back into the original message, but serves as a digital signature confirming the authenticity of (for example) the software you’ve downloaded. ...

Continue Reading

What you need to know about BERserk and Mozilla

Published: September 25, 2014 Reading time: 1 min

The Intel Security Advanced Threat Research Team has discovered a critical signature forgery vulnerability in the Mozilla Network Security Services (NSS) crypto library that could allow malicious parties to set up fraudulent sites masquerading as legitimate businesses and other organizations. The Mozilla NSS library, commonly utilized in the Firefox web browser, can also be found in Thunderbird, Seamonkey, and other Mozilla products. Dubbed “BERserk”, this vulnerability allows for attackers to forge RSA signatures, thereby allowing for the bypass of authentication to websites utilizing SSL/TLS. Given that certificates can be forged for any domain, this issue raises serious concerns around integrity and confidentiality as we traverse what we perceive to be secure websites. ...

Continue Reading

Symantec to Overhaul Its Norton Security Line

Published: August 22, 2014 Reading time: 3 min

Symantec is overhauling its Norton security software, going from nine products to just one as the company turns its attention to smartphones and connected devices. The new product, called Norton Security, doubles down on the company’s renewed focus on subscription models. In its most recent quarter, when Symantec reported a $236 million profit on a 2% gain in revenue to $1.74 billion, the company said it planned to optimize the Norton business while streamlining product support. ...

Continue Reading

New Facebook scams in 2014

Published: August 22, 2014 Reading time: 3 min

So many Facebook scams in 2014 have been a little worrying even though at first they all seem innocent enough, but these are social scams to lure users in to gain money or access to computers. One particular Facebook scam this year was the “Robin Williams goodbye video”, which was apparently made before his death. This fake BBC News video is a scam and no such video exists. The “Robin Williams goodbye video” started to circulate on Facebook and asks users to share the video before they can watch it, DO NOT click on it. There is no video so no point on sharing it, Symantec explains in detail that when Facebook users click on the video it asks them to either fill out a survey or install an application. When the survey is complete the scammers gain money for each one completed. ...

Continue Reading

How NBC's Russian Hack Actually Happened, According to the Security Expert Who Set It Up

Published: February 10, 2014 Reading time: 4 min

A couple days ago, NBC News ran a report pegged to the Sochi Olympics about Russian hacking. In it, correspondent Richard Engel uses a “brand new” smartphone to test out the Russian internet while hanging out in a Moscow cafe. “Almost immediately,” he says in the segment, “we were hacked.” Naturally, as the security consultant NBC hired for the segment explained today, it’s not true. ...

Continue Reading

Gates spends entire first day back in office trying to install Windows 8.1

Published: February 7, 2014 Reading time: 1 min

REDMOND, WASHINGTON (The Borowitz Report)—Bill Gates’s first day at work in the newly created role of technology adviser got off to a rocky start yesterday as the Microsoft founder struggled for hours to install the Windows 8.1 upgrade. The installation hit a snag early on, sources said, when Mr. Gates repeatedly received an error message informing him that his PC ran into a problem that it could not handle and needed to restart. ...

Continue Reading

The FBI is willing to pay top dollar to download some malware

Published: February 7, 2014 Reading time: 2 min

The Federal Bureau of Investigation is willing to pay top dollar for the malicious, infectious software the rest of us pay to keep out of our computers, according to the Federal Business Opportunities website. A Monday price quote request by the Investigative Analysis Unit of the agency’s Operational Technology Division is asking computer security developers and retailers to help the agency build a library of malware for an undisclosed reason, letting the companies name their price. ...

Continue Reading

Avira starts blocking some browsers and email clients

Published: July 11, 2013 Reading time: 1 min

Since yesterday, some Avira Internet Security users have only been able to use their web browsers if they first disable Avira Web Protection. According to Avira, some customers are getting a “data structure error” that requires a complete uninstall and fresh installation of the program. However, users in the Avira forum are saying that reinstalling does not solve all their problems: activating IPv6 support and the Drive-by protection causes new browsing issues – this appears to be a Java-related problem, particularly if the latest version, Java 7, is installed. Disabling browser protection is the only way to get around the problem. Chrome, Opera, Firefox and the Thunderbird email client are all affected. Avira has acknowledged that there is an issue with Avira Web Protection and the recently released Chrome version 28; the problem is currently being investigated. ...

Continue Reading

Search