Linux: batch convert webp to png using ffmpeg

If you have some images in webp format, such as exported from Telegram’s “sticker” packs, and you want to convert them to standard png for use in other applications, I have written a small bash script which will convert all the webp files in a directory into png and then remove the webp files.

This requires that you have ffmpeg installed. If you don’t want the webp files deleted afterward just remove line 5.

If you find this useful let me know in the comments! I invite suggestions to improve upon it.

Please share!
stacks of money

DMARC is not the solution to E-mail Fraud.

The latest craze in E-mail security appears to be DMARC. Let me preface my post by saying I use DMARC, I use SPF and I use DKIM. I understand that people are mostly up in arms about the importance of DMARC because of how many major organizations haven’t adopted it. I understand it’s importance.

Problems with DMARC

Here’s the issue as I see it. DMARC does not solve phishing E-mails. It doesn’t do much more than SPF already does, and it doesn’t solve trust or identity in E-mail.

DMARC requires compliance by the recipient server to function at all, and all it does is tell the recipient to reject, quarantine, or allow fraudulent E-mails, a feature that SPF already provides.

This prevents someone from sending email from “custserv@paypal.com” but it doesn’t do anything to prevent them from sending an email from “custserv@payypal.com” which is how a huge number of phishing attacks are launched.

Oh and DMARC gives you some forensic information on who is sending fake E-mails from your domain. Which is completely useless in a high traffic real world scenario because you can’t take any effective action against the perpetrators.

Key Pair Signing & Encryption, a Real Solution.

Meanwhile we have PGP/GPG signatures which would, if properly implemented, provide a user friendly means of identifying the sender of an E-mail and verifying the integrity of an E-mail. But these have been completely disregarded by nearly 100% of organizations as “too difficult” to implement. Seriously, why doesn’t GMAIL come with a ‘PGP’ button?

PGP is arguably easier to implement worldwide than SPF + DKIM + DMARC. All you need to do is create the functionality client-side to create keys manage keyrings and interact with key databases. Compare this with setting up 3 different inline mail verification tools on every E-mail server in the world plus a slew of DNS records which can instruct servers to pass fake E-mails along without notifying the end users at all of suspicion.

Why are we being sold this half-assed solution to E-mail fraud when the real answer has existed for decades and would be easier to implement? If someone can explain why DMARC is being treated as the holy grail of E-mail security I would really appreciate it.

GPG/PGP is “Too Hard” for End Users

Bullshit. The difficulty of PGP/GPG has nothing to do with the technology and everything to do with the lack of proper support in E-mail clients. End Users don’t need to understand the technology at all, they just need a button that creates a key and publishes it to public key databases. The process is no more complicated than adding people to the address book on your phone.

Paranoid Conclusion

Using keypairs to verify authenticity of E-mail comes with a bonus feature, they can be used to encrypt E-mail to the point that it is “uncrackable”. Adding the signing capability to a service like GMAIL would also make it a lot easier for users to encrypt their E-mail, which would destroy Google’s business model since they read all of your E-mail to gather data. This is probably the #1 reason why keypairs have been ignored, with the #2 reason being pressure from world governments.

Your Thoughts?

My paranoid conclusion is not the only possible scenario, I would love to hear the opinions of other internet security experts on this issue.

Some Good News

You can implement PGP/GPG in your own E-mail and start using it with your friends, family and colleagues right away. And you should.  Visit the Electronic Frontier Foundation website to find some simple step by step tutorials for all platforms.

My Public Key: https://tailpuff.net/keys/

Please share!
Rainbow flag with "dont tread on me" snake

Gay Pride is Bullshit!

It was created to mock gay people

Humans are liars. There is one thing which is almost universally shared between adult humans, that is they hate their lives, they’re too scared to commit suicide, and they take out their rage on other humans. Straight men invented “Gay pride” to mock and make fun of people who will literally march in any parade no matter how insulting and degenerate it is. There are a few floats in each parade that are respectable, but that is not what everyone takes home from these events. What they take home is “Look at the faggots! Oh they’re such faggots!”

Gay lifestyle is bullshit

Sexuality is retarded. People are not born one way or another, they’re conditioned through years of experiences, teaching, and self-thought. They reach conclusions which are often subtle and difficult to pin down the sources of. Sexuality is one of those conclusions. All humans are capable of enjoying sex with both genders, but because of years of conditioning they often find one gender or the other sexually “disgusting”. Often this is an accidental process. In some cases it could have been deliberate.

There is no “queer community”.

Gay people do not have each other’s backs. Humans do not have each other’s backs. Humans are always on the brink of war with their own neighbors, for whatever stupid reason they’ve invented that week, and gay people are as much a part of that mental disease as any categorical group of people.

This is not an attack on your family.

Everyone has a tribe of friends they will defend fiercely.. You need to be careful not to assume that the bubble you live in every day represents the world at large.  This is not an attack on the bonds of your tiny tribe or family.

Please share!

Cloudflare’s “Keyless SSL” Feature violates trust and privacy.

SSL exists to ensure Privacy and Trust

SSL serves two purposes. Privacy and Trust. Both purposes are equal. Privacy means it encrypts your traffic, this ensures that packet sniffers on a public network can’t view your credit card number when you purchase something on Amazon. Trust means when you visit Amazon.com, you know that the responding server is actually Amazon.com

Without both Privacy and Trust, SSL is useless.

If you compromise either privacy or trust, the SSL certificate becomes completely worthless. Now your activities are at risk of being compromised, which is precisely what SSL exists to protect against.

KeyLess SSL violates both Privacy and Trust.

Cloudflare’s new feature “Keyless SSL” violates both privacy and trust. This dubious service operates by decrypting 100% of your web traffic between the server and Cloudflare’s network. That means Cloudflare can view your credit card numbers. All that is required is a Cloudflare employee to hide malicious code in their traffic inspection function and they could steal thousands or millions of credit card numbers in an hour.

Browsers should Declare all Cloudflare traffic “Insecure”.

The solution is simple. If SSL traffic comes from Cloudflare, one must assume that it has been decrypted and inspected during transit. This means it is not secure. Web Browsers need to declare this to the user. Traffic that comes from Cloudflare websites should be flagged as insecure, regardless of the SSL status.

Please share!

SFG Media Group

Who are they?

A quick web search reveals: “SFG Media Group is a digital content creation and distribution company using data science to empower journalists, writers and filmmakers.”

But who are they REALLY?

Well if their former employees are any indication, they are terrible people. Here’s an excerpt from a GlassDoor review:

Poor management and no concern for employees.

I was hired with a 2 week training period for a writer position only to find out that it was actually a try out. The people who hired me knew that I was quitting my job to work there but didn’t warn me that they might not take me after the 2 weeks training period (they also asked me to work over the week-end with no notice).

And how about their outsourcing habits? Well I spotted an ad from them on the WordPress job boards, offering $5 per page to build landing pages. Even if you cut and paste the layout with no other changes you’re looking at 20 minutes per page, which means they were offering roughly $15 per hour. I wrote them to tell them they need to increase their offer to $50/hr or better, as their current offer was insulting to all professional developers. The E-mail responses I got in response were incredibly hostile, let’s look at a few of them.

This one was interesting because he accuses me of being rude, after an uncalled for assault of hostility.

If you are not interested, just fuck off.

We have enough people interested.

Some people asked for 500 others asked for 50 some are doing it for 5

So, why don’t you get your head out of your ass and get over your
superiority complex and go fuck yourself or do something useful instead of
wasting my time with your stupidity and rudeness.

Here his raging tantrum increases in intensity

why dont you idiot read the email you sent me first time and see your
insults and shove them down your throat.
I dont want people to work for me for free, I want them to work for an
agreed on rate.. you are too dumb to understand that maybe because of the
air you breathing in whatever shit hole you live in.
if you dont like my behavior, fuck off and stop sending me emails.
people who are interested in working with me, they are doing it, but again
because you are a fucking arrogant scumbag you think you are better than
them, despite that your website is so shitty, you wont even qualify for a
$5 gig.
if it is after midnight, go to sleep, go watch tv, go work on your site, go
learn something…and stop wasting my time.
I know it makes you feel important because your life is that worthless and
pathetic, but..it wont get you anywhere,..so go do something useful with
your time.

Here is the actual contents of my first E-mail, do you see any insults? I don’t.

You are trying to take advantage of people and you should be ashamed. I hope that you meet with failure until you are willing to pay a reasonable salary for the work you’re asking for. You need to start at $50 per hour.

If you think that’s unfair, do the work yourself.

This one is interesting, his response has escalated from attacking me personally, to attacking my deceased mother or my imaginary sister. I think we can all agree that this sort of behavior is completely unacceptable for a grown adult. Again he acts like the victim as well, saying that I insulted him, but that never took place.

You again? You are like a rabid dog who won’t leave.
You are not a man, you are an asshole.
You sent me an email insulting me and my business and everyone who applied
for the job.
That’s an adult behavior? But replying to your insults is not?
I hope I m not giving you the idea that I give a damn about what you think
of me or my business, I just tried to be polite and give you the benefit of
the doubt, but obviously there is no reasoning with you,and you are not
reading my email or understanding them…just want to reply and spew your
poisonous bullying because it make your pathetic life more meaningful.
Just get your head out of your ass or out of your moms ass or out of your
dogs ass and fuck off and do something useful with your worthless time and
existence.

You should change your nickname from lion to a donkey, a very dumb donkey.

I replied to your insults with reasoning, with insulting you, your mom, and
your sister…unless they are prostitutes..so if you have any shred of
dignity and self respect, you would have fucked off already.

This is my favorite one. In this rant he accuses me of being part of ISIS and helping to kill people and destroy their houses, and talks about “digital threats”.

I don’t care…you see in 2006 israeli apartheid regime and terrorists
threatened to kill us and destroy our houses, and despite their war crimes
where they killed over a 1000 women and men and 300 child…we survived, we
did to cave to their threats and their war criminals went out crying after
being crushed along with their elite army units.
Your friends at isis threatened us and attacked us and killed many of
us..but eventually they were crushed and soon to be eliminated … so
digital threats from a coward bully like you are meaningless as much as
your existence.
Post them anywhere..but why don’t you post them with your real name, phone
number and address , don’t be a coward.
And send me the links..I might have few more minutes to spend dealing with
your bullying and stupidity..

Now you might think “How can we believe this stuff? It seems too insane to be true”. You would be right to be cautious, so for the sake of verification, here is an archive of most of the emails, including everything quoted here, and their respective E-mail headers including cryptographic DKIM signatures which can be used to verify the authenticity of these E-mails. sfg-media-emails.tar.gz

Conclusion: SFG Media Group are “Bad People”

You should decide for yourself, but if you ask me the evidence is overwhelming, these people are not the kind of people that anyone should want to work for or do business with. The marketplace is filled with honest and hard working people who pay decent wages and provide decent services, and most of them are fine places to work. SFG Media Group puts on a good front, but when you peel back the layers what you find is a loathing toward their fellow man, and behavior which nobody would ever tolerate. I hope you find this useful.

Please share!
small square painted on the sidewalk which reads "Designated free speech area"

Google fires employee for controversial memo

Preface

Wow @Google’s decision to fire someone for expressing their opinion on the internet has backfired. The fallout has been mostly very negative. Journalists and Bloggers have accused @Google of breaking labor laws, anti-American behavior, and stifling free expression and free thought. I think this shows that whatever social idealogy @Google may once have had, it has been crushed under the weight of their corporate greed. They must have had board meetings where they weighed the financial risks of tolerating the employee’s behavior, or firing the employee. Ethical standards have nothing to do with decisions like these when a corporation of Google’s size is in the crosshairs, the only thing that matters to them is money and their continued stability in the marketplace.

My opinion

I happen to agree in a narrow sense that diversity of thought and diversity of culture is probably what we should all be striving for. I am of the opinion that people should be hired and promoted based on merit alone, and never gender, or race, or any other “book cover” trait. Some board room decision that “We need at least 40% to 60% women in our top roles” is not a good way to staff an organization of any size or role. It limits your options and opens the door for unexpected breakdowns in the team.

The human race is not divided into genetically isolated groups competing with each other for dominance. It’s not Women vs Men vs Latinos vs Blacks vs Gays. There are humans who choose to live that way or they think that’s how it works, but they are either ignorant or stupid. You can certainly organize your culture into that kind of competition, but it would not be best for the species and it would have no basis in science or knowledge or intellect. You might wish that the world could be divided up in such ways, but Planet Earth and The Human Race do not exist to grant your fucking wishes. Life is what it is, reality is what it is, regardless of whether any one person or persons chooses to accept it.

man with tape over his mouth which reads 'freedom'Some women would not make good engineers. That is true. That doesn’t mean all women make poor engineers. Some men would make terrible engineers too. People are individuals with unique experiences which define much of their capabilities and competencies, as well as genetic factors which are not group-based but individual-based. I would suggest that any genetic differences would be minor and have the least noticable effect on workplace capability, especially when placed against educational and cultural differences which have huge impacts.

So it’s not right to say one group of people is genetically inferior to another, it’s also not right to say they’re all equal to another. There is only one “Human Race” on Planet earth, and you humans need to stop trying to re-define yourself in various sub-groups. There is The Human Species, and then there are individual Humans, and that’s as good as it’s ever going to get. The whole reason we have anti-discrimination laws is because science has shown there are no correlations between biological capabilities including intelligence, and group categories like gender, skin color, religion, sexuality, and so on.

It’s not because anti-discrimination laws make us feel better. Seriously nobody in power cares how anything makes any of you feel. Anti-discrimination laws exist to efficiently provide guidance for hundreds of millions of people. It takes too long to sit every person down and ensure they’ve been properly educated on the subject, so we have laws instead which are basically the society saying to every hill billy in the nation “Listen, trust us, gender and skin color have nothing to do with competence. Don’t discriminate”. It’s definitely not to make anyone feel better. If there were scientific evidence showing that specific groups of people were less capable than other groups, discrimination would be legal, with complete disregard for your feelings. People who craft and lead nations are not interested in your feelings. They’re thinking on a larger scale and in longer terms than any one lifetime.

In summary

If I were Google I’m not sure I’d have made a different decision. To them it’s not about ethics, it’s about reducing fallout. They believed that firing the guy would have the least damaging effect on their business in the long term. Time will tell if they got it right or wrong. That said, they probably shouldn’t have fired him. Sure the guy said a lot of things that are wrong. So what? He also expressed some ideas that had a twinkle of inspiration behind them. It’s better to have a conversation about these subjects, than to freak the fuck out and hang the bastard. What did he actually do besides write his ideas down? If people can be fired for expressing ideas, they will become afraid to express themselves, and that future isn’t good for anyone.

Please share!
US Flag - Distress

Google’s “NoCaptcha ReCaptcha” product is slave labor.

Google are Crooks.

Google has been in trouble over their ReCaptcha product in the past, and they are bound to face the fire again. Their “NoCaptcha” service advertises itself as being user friendly, by presenting users’ with a single check box they click to pass the test. However it very rarely works like this, especially if you use any sort of adblocker or privacy protecting addons in your web browser. Most of the time it presents the user with a photograph, or a series of photographs, in a 16 square grid. It then asks the users to click on each square which matches a specific description.

If you don’t answer the captcha to Google’s satisfaction, the challenge becomes more annoying. For example after clicking a square you might have to wait for that square to reload. The time it takes that square to reload is adjusted by Google, based on how much they “trust” you. So while some users might only have to click 3 squares, others might have to click 6, and wait for as many as 10 seconds for other squares to reload. And then when you perform the tasks they demand and you click ‘verify’, it will often start the entire process over again, for no explicable reason as you answered everything correctly.

What is really going on?

What is actually going on here? Is the system broken? No. What is happening is Google has a massive database of images, billions and billions of images, and they are using the unpaid labor of millions of computer users to add digital tags to those images. “This Image contains a Car” or “This Image contains a Mountain” and so on. The entire system is automated. On it’s rosy surface it would appear as if the labor of those users is being used to improve the captcha system, but that’s not what it’s for. It exists to force millions of users to do the work that Google is required by law to pay people to perform.

This is slavery.

This is slavery. We haven’t tolerated slavery in this nation in nearly 300 years, but Google thinks they can get away with anything they want because they think the world depends on them. It doesn’t. We don’t need their stupid search engine, there are a number of 100% equally useful search engines such as Bing and DuckDuckGo, in fact some have found those engines provide better results for their searches. We don’t need their free E-mail service, as there are countless providers of that same type of service, none of whom use it to spy on their users the way Google has done for years. The truth is Google does not provide ANY valuable services to the world, and they are raping the information market in new and disgusting ways to make a quick profit.

Stop Google.

It’s time we put a stop to it. A class action lawsuit should be raised against Google again for their “NoCaptcha ReCaptcha” service, and the FTC needs to step in and force them to stop.

Please share!
Red circle with a line through it, crossing out the word "LIES"

Choosing a webhost, why are they all lying to us?

Preface

If you have a website you have 3 options to put your site on the internet. You can self-host, you can rent hosting space from someone else, or you can use a free hosting service. Self-hosting is the best, if you can afford it. You need a computer and a reliable internet connection, typically not residential internet but that is changing thanks to services like Google Fiber. Free hosting services are great, if you don’t need a private domain name or special server side applications. For people who want “Mydomain.com” however, renting a hosting service is usually the best choice.

Nearly every hosting provider is lying

That seems straightforward enough, so this should be easy, you visit a few websites, compare some prices, and purchase your hosting. This shouldn’t demand more than an hour of your day, but it’s not that easy. Nearly every large hosting company is outright lying about the services they offer. There’s no regulation in the hosting market and the prices are as low as they can realistically get, so the companies have resorted to competing with lies instead.

The devaluation of the word “Managed”

For example, let’s look at the word “Managed”. Every hosting provider in the world offers “Managed Hosting” if their websites are to be believed, but what does that really mean? Well not much as it turns out. The word Managed starts with “Man” because it’s supposed to mean a human being is overseeing operations, but with large hosts that have 100,000 customers how is that even possible? It’s not, they are lying. They use completely automated systems and if you require any personal support it will come from underskilled phone-operators, or you’ll pay extra for it.

Unlimited is never unlimited

The other popular buzzword in the hosting industry is “Unlimited”. Nearly every hosting provider offers “Unlimited” service, but computer hardware has a finite amount of storage space, processing power, and memory, so how can they offer “Unlimited” service? They can’t. Every hosting package in the world is limited. What’s really happening is they’ve stopped being up front about the details of their service. This makes it especially difficult to compare the value of different services because most of the details are hidden from you.

Full Disclosure

I own a technology consulting business and one of the services I offer is webhosting. I’m not writing this article to advertise my business however. I was unaware of the problems in this marketplace until I entered it, and I am disgusted by how nearly all of my competitors operate. I say nearly all, because there are a good number of honest businesses who are up front about what service you receive and for what price.

What can we do about it?

The simple answer is stop supporting hosting services which behave in dishonest ways. If their sales page doesn’t provide full details of the service you’ll receive for the prices they advertise, or if they claim to offer “Unlimited” storage/memory/CPU, or if they hide extra costs and features on sub-pages of their website, shop elsewhere.

Please share!