vtempest
Human minds and uploaded minds are equal as part of the hive mind
It's contradictory for libertarians to be calling for more government spending on the economy. Most of the issues, like crumbling infrastructure, would be better spent not by advocating for effective spending, but rather privatization and letting people vote online on which firm to contract out to various public works paid for by tax money that we vote on how to allocate.
Why ContentEditable Is Terrible, Or: How the Medium Editor Works (2014) (medium.com) https://news.ycombinator.com/item?id=11487667
My question is how well the trained models interpret human meaning in joined sentences. I discovered that by simplifying sentences you lose the original meaning when that grammatically-low-importance word is central to the meaning. "Clinton may be the historically first nominee, who is a woman, from the Dem or GOP party to win presidency" is way different meaning than that if you remove the "who is a woman". I am also interested in how it makes sence to join-up nouns/entities across sentences. This will cause the wrong meaning unless you are building the human meaning structures like in ConceptNet by learning from the article itself, as opposed to pretrained models based on grammar or word vector in Gigaword.
My work for the future, is using tf–idf style approach for deciding the key words in a sentence, which I would recommend over relative grammar/vectors. In the example in your blog post ("australian wine exports hit record high in september") you left out that it's 52.1 million liters; but if the article went on to mention or relate importance to that number, by comparing it to past records or giving it the price and so on, you can see this "52.1 million liters" phrase in this one sentence has a higher score relative to the collection of all sentences. As opposed to probabilistic word cherry picking based on prior data, this approach will enable you to extract named entities and phrases and build sentences from phrases in any sentence that grammatically refer to it.
Ask HN: Any visualizations of electrons running thru circuits as code?
I would like to see how each of the function() and == code bits looks like as it did to the electrons in ram or cpu and its logic gates
Pokemon Go Source Code for Android
Show HN: Alternate HN Reader with links, comments, and article all on one page
sed -i "$ a\#custom shortcuts \nx(){ case \$1 in .tar.bz2) tar xjf \$1;; .tar.gz) tar xzf \$1;; .bz2) bunzip2 \$1;; .rar) rar x \$1;; .gz) gunzip \$1;; .tar) tar xf \$1;; .tbz2) tar xjf \$1;; .tgz) tar xzf \$1;; .zip) unzip \$1;; .Z) uncompress \$1;; esac; } \nf(){ grep -R -I \"\$1\" ./*; } \np(){ ps aux | grep \$1 | grep -v grep; } \nown(){ sudo chmod 777 -R \${1:-.} && sudo chown -R \${USER} \${1:-.}; } \nalias u='sudo apt-get update && sudo apt-get dist-upgrade -y && sudo apt-get autoremove -y' \nalias l='ls -la' \nalias ..='cd ..' \nalias i='sudo apt-get install -y ' \nalias gg='git add . && git commit -a -m "." && git push -u -f origin master'" ~/.bashrc && source ~/.bashrc
More here https://github.com/gulakov/nodejs-starter/blob/master/README...
Nodejs Web App Starter Kit
ran emotional sentiment analysis from an ipad camera while user scrolled thru menu items. won a prize in salesforce $1 hackathon
Tesseract OCR: How to Include in Visual Studio
Djangop sample app showing bootstrap layout, mvc, and login
Show HN: Bypass CORS in PHP/JS script
cd ~/.ssh
ssh-keygen -t rsa -C "[email protected]"
vi ~/.ssh/id_rsa.pub
#copy this into a new key https://github.com/settings/ssh
#now create a new git repo https://github.com/new
cd /var/www
sudo apt-get install git
git init
git add *
git commit -a -m "init"
git remote add origin [email protected]:yourname/repo.com.git
git push -u origin master
cd ~/.ssh ssh-keygen -t rsa -C "[email protected]" vi ~/.ssh/id_rsa.pub #copy this into a new key https://github.com/settings/ssh #now create a new git repo https://github.com/new cd /var/www sudo apt-get install git git init git add * git commit -a -m "init" git remote add origin [email protected]:yourname/repo.com.git git push -u origin master
Login to your EC2 via ssh
ssh -i /path/to/your/Awskey.pem [email protected] then set
sudo adduser alex Set a password
sudo visudo Add this line
alex ALL=NOPASSWD:ALL Beneath the root ALL=(ALL):ALL line, and ctrl x to exit and enter y to save
sudo nano /etc/ssh/sshd_config Find this line and modify it to say yes
PasswordAuthentication yes Then exit and save with ctrl+x and press y to save
sudo service ssh restart Now you can login as ssh [email protected]
Setup websites
If you've just booted your ec2 server, you will need to first update packages before you can use them
sudo apt-get update && sudo apt-get upgrade Type y when asked to install.
sudo tasksel install lamp-server Create mysql root passwords when asked
Now open permissions to your root folder
sudo chmod 777 /var/www In order to enable .htaccess on ubuntu server, type
sudo a2enmod rewrite Then type
sudo nano /etc/apache2/sites-enabled/000-default.conf or
Make these modifications, change AllowOverride to All and ErrorLog to use the /var/www root. If you can't find these here, check the /etc/apache2/apache2.conf file
AllowOverride All
ErrorLog /var/www/error.log Ctrl+X and y to save
To install phpmyadmin, type
sudo apt-get install phpmyadmin Then press space to asterisk apache2, tab and enter, then yes and set a password for the phpmyadmin to access the databases. Now accessible at siteip/phpmyadmin
In the AWS EC2 Instance console, make sure the security group assigned to your instance has under the inbound tab port 80 HTTP enabled. Only port 22 is open by default. Find out your security group name listed when you click on your instance, then go to the Security Groups link on the sidebar of ec2 and modify that security group by clicking on it, inbound tab, edit, add rule, select http. Now when you click on your ec2 instance it shows a Public DNS like this ec2-54-85-204-200.compute-1.amazonaws.com, type that into your URL bar and you should be able to see index.html located on /var/www
when you login, if you want the default directory to always be /var/www then type
sudo nano ~/.bashrc And add to the very bottom:
cd /var/www Register a domain
Go to your ec2 manager and click elastic IPs on the sidebar, Allocate a new address, then associate address and select your running instance to be associated with that address. Test it out by typing that ip address into your url box, index.html should show up.
Now go to Route 53 under the aws console dropdown and click Create Hosted Zone, name it your site's name .com, then go to record sets, create record set Type: A with the Value of the Elastic IP you got before.
Now copy the Name Server values, which look like ns-1877.awsdns-42.co.uk. ns-1149.awsdns-15.org. ns-923.awsdns-51.net. ns-216.awsdns-27.com.
Go to godaddy or 1and1 and buy a domain for $10, then under DNS management for that site domain, edit DNS servers to be custom and enter all four of those Name servers. Give it an hour for it to update redirection.
Top things to do after setting up EC2 AWS server?
The top three things to do after setting up ec2 server is setup a username password login and enable lamp web server as well as to assign a domain name
I made something similar at hkrnews.com but SameOrigin policy blocks 30% of articles. One way to get around it is whateverorigin.com
XBMCtorrent has been doing this already and is open source. runs on all platforms and devices.
HKR News sidepanel UI with fulltext articles
http://hkrnews.com/#