Server upgrade

It’s spring time! Time for a server upgrade.

I had a nice i7 laying around. I visited the friendly PC recycling shops in Montreal and got myself a brand new Dell server!

It cost me 150$. It’s overkill compared to what Ubuntu needs.

 

Here is the old Pentium 4 server.

The new server has 7TB of storage (not included in the price, I only buy brand new disks). I’ll be ok for a while.

Who is to blame for #DrumpfPOTUS

Melinia Trump and her evil ways
The first lady and her evil ways, especially dangerous to heroic canadian wildlife

First, let’s admit nobody saw this coming. I warned about Trump during the primaries. Especially, after Clinton won the nomination, I was furious: I said the DNC just gave us a Trump president!

But around May I saw the polls and it seemed inevitable for Clinton to win. It was common knowledge. We we all wrong. Respected pollsters who dared to say Clinton would still win, but by a thin margin, were ridiculed.

A recent poll show 75% of the people think the media is biased towards Clinton, 8% towards Trump. Ironically, this really hurt her chances. Folks are tired of getting played.

Republicans now have the Senate, house, white house and the supreme Court. But, they are not united. Trump is not with the establishment gang. And he holds a grudge against them for treating him like a fool during the primaries. What we must fear is he’ll put disgusting figures in his cabinet. I’ve always said he’ll never accomplish anything because he’s too stupid and incompetent. But as you know I’ve been wrong before. Let’s see.
So how did this happen?
I always knew the Democrat’s defense strategy was wrong but didn’t realize their attacks were also wrong until late last night. They attacked Trump for misogyny, racism and bigotry. It was Free Advertising for him! It rattled his base! It was negative politics for her which discouraged her base to vote. So I blame the Democrat’s terrible DNA.
Cenk Ugyr went on a huge rant. Angry at the democratic party. They are paid to loose – he said that for years. I hope you democratic supporters understand what this means. Please do your research: they are paid to play soft politics and loose on issues and loose elections.
You wanna know who am I angry at? Californians and New Yorkers. You guys voted for Clinton in the primaries. She’s a terrible candidate. Bernie was polling 20 points ahead against Trump. You’re hopeless. Sure the DNC rigged it but still millions of you voted for this damaged woman.
What do you think hurt Clinton the most?
-debate rigging scandal
-emails
-Bengazi
-being robotic
-dismissing trump because he’s not a real politician
-taking speech money weeks before her campaign
-taking Morocco king money days before her campaign
-not attacking trump enough on the bankruptcies
-not taking enough progressive policies #nodapl #notpp
Well there’s going to be a woman in the white house anyway right:
The potential for humor is endless for the next 4 years
The potential for humor is endless, bright side..

You’re wrong, Julien! Liberals wanted too much change and lost support of red blooded Americans. Liberalism is the reason we have Trump!

I haven’t watched CNN and Fox News, but I imagine that’s the rhetoric pushed 24/7 these days. I certainly saw this on smart people’s Facebook pages.

Democrats are not Liberals. It’s just a facade. Even those democrat representatives most praised by the unions voted for NAFTA, and now TPP is being pushed which is murdering jobs and quality of jobs in the US. Only a handful of truly progressive mavericks are allowed to represent democrats in Vermont and such,
They thought they could keep working class support while reaching for corporate pockets and seducing rednecks (unsuccessfully). At every failure, they tell themselves – well, we didn’t move right enough! The result? A democrat party that’s right of the republican party of the 80’s and 90’s with no real base. Obama reignited that flame but only in the election campaign with brilliant progressive speeches and he only tried to do a corporatist healthcare insurance. Politics don’t move without money in Washington so the democrats made a calculated choice: go corporate or go broke! They could have changed the game – campaign finance reform – when they were in power. But they thought they could keep power, keep the money, and keep the votes. Well they sure kept their money though!

 

Democrats today are nothing but corporate goons. Their failure to motivate their base, like they used to when Bill Clinton got elected, is the cause. They chose to shift right since and during Bill Clinton era, trying to seduce Republican voters that will never vote for them, instead of aggressively fighting for the liberal and progressive issues.
If you think Democrats are liberals, don’t reach across the aisle enough and that’s why they lost the last (several) elections -three strikes!- you understand nothing about US politics so you’d be a perfect Fox News or CNN contributor.
This analysis albeit eloquent, is not smart, it’s the total opposite. Proof is the Republicans never reach for compromise, they are firm and aggressive. Voters like that and are motivated to go to the polls – independents perceive their behavior as more genuine.

Long term, for dismantling their progressive platform, letting corporate media and the Republicans manipulate the truth (low taxes=jobs, etc.) and distancing themselves from Liberals, The Democrat Party is responsible for Trump.

I’m back baby!

New stuff, new challenges, new experiences!

What’s new:

  • Helped a friend in SQL Server and MS Access (eww)
  • Got a new job in MVC 5 and Kendo UI (wow)
  • Got a new apartment (gotta start somewhere)
  • Got the chance to exercise a lot (skate, hiking, biking)
  • Setup Flex to view my server Media
  • Got 50Mb Teksavvy VDSL
  • Got a nice tomato-wared router with blazing wifi speed for cheap
  • Got my wordpress site working again after hours and hours of linuxery

Brushing up my skills is super fun. Wish I had more time…

Bernie vs Hillary

Recently, I was delighted to hear long-time consistantly liberal maverick Bernie Sanders was running for president. Finally, someone we can get behind.

Soon, you will observe Clinton present herself as a progressive champion – a total separation from the truth. Do NOT be fooled!

I will use this post to list reasons why we should support him, and also reasons not to support the Clinton aristocracy.

[This is a WIP.]

Reasons to favor Bernie Sanders

  1. He is consistent in his vote [sources needed]
  2. He’s a true progressive  [sources needed]
  3. He would abolish big money in politics
  4. He’s a pacifist, voted against the Iraq war

Reasons Clinton is the continuity of what’s wrong in Washington

  1. Clintons rake in millions in foreign donations
  2. Clintons gather millions in speaking fees as legal bribes. [tally total $]. Even their daughter, is getting up to 75,000 a pop to talk about.. diarrhea. http://www.nytimes.com/2014/07/10/us/politics/chelsea-clinton-follows-parents-lead-as-a-paid-speaker.html
  3. Hillary voted for the Iraq war, often criticize Obama for not sending more troops (eg. Libya, Syria, Ukraine).

The Amazing Atheist recently made a nice summary:

Neo-feminism hurts the cause

I used to be a feminist. I dreamed of walking alongside suffragettes, like some men did at the time. I hope I would be a big enough man to fight for women’s rights, like they did.

If you know me on facebook, you might know my outrageous opinion towards feminists: I don’t like the new, extreme ones. They are the ones we see on old and new media these days. They can transform anything into ‘rape’ and blame ‘patriarchy’.

https://www.youtube.com/watch?v=oWaCMel2FLg

You must watch the ending of the video.. it becomes quite ridiculous and, frustrating. It’s everything that’s wrong about neo-feminism and it diminishes the whole cause by causing ridicule.

If you like anita sarkasian, you need to watch this fun analysis by AA.

And what to say about recent fake outrage (or plain, 100% constructed) videos about evil men abusing women. “Hollaback” and “drunk girl in public”(that one was 100% fake with paid actors) social experiments are linked with a clickbait tagline and the Internet just gobble it up. The videos get removed or comments adjusted after 12 million people see it, only a fraction will realize it was fake or misleading. This is bizarro fox news, liberal version. People are either mislead by it, or frustrated by the attempt to mislead them and rebel against feminism.

Finally, I want to talk about the wage gap. They say women earn 87c for each 1$ a man makes. This sounds about right, and that’s how this stat made it’s way in everyone’s brain, even the President! In fact, this is true, but not representative and misleading to assume this is because of discrimination of women. You can watch this video to explain the details, but the bottom line is that the wage gap is more like 4%.

Thanks, but no thanks, neo-feminists!

LGBT rights persecuted in Indiana/Virginia – Or are they?

George Takei recently called his fans to boycott Indiana.

“I myself am a Buddhist, not a Christian. But I cannot help but think that if Christ ran a public establishment, it would be open to all, and He would be the last to refuse service to anyone. It is, simply put, the most un-Christian of notions.”

– George Takei

This is in light of new laws that have/will pass in Virginia:

 

And later, in Indiana where the reaction was more intense:

Indiana’s RFRA law, explained(1:57)

 

All eyes are on Indiana after Governor Mike Pence (R) signed a controversial religious freedom bill into law. The Post’s Sarah Pulliam Bailey explains what exactly is in the law and why both sides are so vocal. (Pamela Kirkland/The Washington Post)

Continue reading “LGBT rights persecuted in Indiana/Virginia – Or are they?”

Pseudo-science theism

Work in progress

I live in Thailand and practice Buddhist rituals and meditation. I experience spiritual sensations but nothing convincing me those are beyond brain chemistry-related and sensory hallucinations. I didn’t try acid though. I just trust instruments, logic and math. My brain is not a scientific measurement tool.

In my facebook group and youtube, I noticed this new-age trend and it seems to be resurfacing. Russel Brand shocked me – I never knew this smart man is a theist – with this video:

Atheist and progressive rights celebrity hero Stephen Fry slams the hypothetical God in the face with his logic. Russel can also be described in the same way, but discovered God in some way. I considered him a Hero with his anti-capitalism ideas and eloquent discussions.

Russel and the other dudes here are using this new age approach to theism with pseudoscience backgrounds. Basically, they have huge egos and think their consciousness is evidence that god exists. I suppose Russel experienced with drugs and that ‘expands’ your mind into thinking certain levels of consciousness are superior that reality and that the universe is made of onion-like layers with God encompassing all. They use theoretical physics that seem to support their ideas (but don’t). I discussed with with them in detail on my Facebook group. look up ‘Intelligent Atheism’ if you’re interested ask to join….?

The critical mistake of those people is using the brain perception of drug/meditation infused experiences as evidence. The brain is not a scientific instrument or a fundamental math equation.

CIA Torture

The CIA report came out and I didn’t think it was interesting to discuss it on my blog until I saw this Pew poll in the news. 51% of americans seem to agree that the CIA torture program was necessary. A 43% portion of the population also seem to think the report shouldn’t have been made public either. So, we might have a debate here…

See this TYT video for more info

 

  • Question 1) Is torture justified in any scenario? 
    No. I was torn on this until I see statistics on what happens in the real world and how effective it is. The bottom line is the negative effects on how your country is perceived will outweigh any benefits every time.

    2) Was the CIA torture program overall justified?
    If you see the TYT reports on this and any retort to Cheney’s tour of torture in the media recently, it’s easy to see how idiotic and corrupt the CIA is. They’re wrong 99% of the time, it is probably intentional to take advantage of war interests – and they stopped working for the US citizens’ interests long ago. Even without torture I wouldn’t agree with the CIA.

    3) Are you glad the report was released?
    Yes

    4) Should more information be revealed, such as the bush torture pictures?
    Yes, without endangering troops or agents. If you still think Obama is a good president, please reconsider. He’s preventing those pictures to be released, he’s never going to prosecute anyone in power. The only CIA agent in prison NOW is the guy who revealed this program! Fuck!
    I can’t help but thinking people think torture is even remotely acceptable because of racism and/or revenge. What could be the other reason? Cheney got confronted about the Japanese WW2 torture and was really upset. He said the CIA’s technique is better because the feet are elevated (in simulated drowning)

Running multiple sites on Ubuntu + Apache2

 

Before I forget how to do this again… And because the info on the web is so confusing, mixing hundreds of different ways to do it. I try to use the latest Ubuntu methods not the traditional linux ones.

I want to share with y’all how I made it work. My server currently has 2 wordpress sites, 2 joomla sites and a phpmyadmin site.

badminton.hopto.org  joo
doctorj.hopto.org  wp
vitrail.hopto.org  wp
doctorj.hopto.org/phpmyadmin  Virtual Folder
spider.zapto.org                    joo

It’s finally all neat and tidy. I prefer this to using WordPress (multisite) function. Each site has separate mysql databases and permissions.

First, assure all domains are grouped by your DNS provider and all updated to a new ip if you’re using a dynamic WAN IP. I use no-ip and instructions are here to update the IP automatically: http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client-on-ubuntu/

Also consider your router must redirect your port 80 (and ssl 443) to your ubuntu server.

Then understand that apache will receive the http and direct it using .htaccess and “sites-enabled” configurations. Sites enabled have a symbolic link to sites-available and I modified this

sudo nano /etc/apache2/sites-available/default

Also consider “default-ssl” in the same directory for processing ssl. I’m not there yet though.

In the config, each site has their html and php root in their respective /usr/share folders (which have www-data ownership and group access 755 – that’s another story).

<VirtualHost *:80>
ServerAdmin xxxx@gmail.com
ServerName pannawit.ddns.net
ServerAlias pannawit.ddns.net
DocumentRoot /usr/share/joomla
</VirtualHost>
<VirtualHost *:80>
ServerAdmin xxxx@gmail.com
ServerName badminton.hopto.org
ServerAlias badminton.hopto.org
DocumentRoot /usr/share/badminton
</VirtualHost>
<VirtualHost *:80>
ServerAdmin captainloknar@gmail.com
ServerName doctorj.hopto.org
DocumentRoot /usr/share/wordpress

<etc…>

it may be necessary to specify other things relative to script alias and security measures but I’m done for now.