Tell HN: Political Detox Week – No politics on HN for one week

Like everyone else, HN has been on a political binge lately. As an experiment, we’re going to try something new and have a cleanse. Starting today, it’s Political Detox Week on HN.For one week, political stories are off-topic. Please flag them. Please also flag political threads on non-political stories. For our part, we’ll kill such stories and threads when we see them. Then we’ll watch together to see what happens.Why? Political conflicts cause harm here. The values of Hacker News are intellectual curiosity and thoughtful conversation. Those things are lost when political emotions seize control. Our values are fragile—they’re like plants that get forgotten, then trampled and scorched in combat. HN is a garden, politics is war by other means, and war and gardening don’t mix.Worse, these harsher patterns can spread through the rest of the culture, threatening the community as a whole. A detox week seems like a good


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/cdj0J9NBA14/item

Original article

Amazon Lex – Conversational interfaces for your applications

With Amazon Lex, you can build, test, and deploy your chatbots directly from the Amazon Lex console. Lex enables you to easily publish your voice or text chatbots to mobile devices, web apps, and chat services such as Facebook Messenger (with Slack and Twilio integration coming soon). Once published, your Amazon Lex bot processes voice or text input in conversation with your end-users. Amazon Lex is a fully managed service so as your user engagement increases, you don’t need to worry about provisioning hardware and managing infrastructure to power your bot experience.


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/lTSzjg3opVQ/

Original article

Mux – A lightweight, fast HTTP request router for Go

README.md

mux is a lightweight fast HTTP request router (also called multiplexer or just mux for short) for Go 1.7.

The difference between the default mux of Go’s net/http package and this mux is,
it’s supports variables and regex in the routing pattern and matches against the request method. It also scales better.

Features:

REGEX URL Matcher
Vars URL Matcher
GetVars in handler
GetQueries in handler
URL Matcher
Header Matcher
Scheme Matcher
Custom Matcher
Route Validators
Http method declaration
Support for standard lib http.Handler and http.HandlerFunc
Custom NotFound handler
Respect the Go standard http.Handler interface
Routes are sorted
Context support
Feature request are welcome

Example (Method GET):

package main

import (
“net/http”
“fmt”
“os”

“github.com/donutloop/mux”
)

func main() {
r := mux.Classic()

//URL: https://localhost:8080/home
r.HandleFunc(http.MethodGet, “/home”, homeHandler)

//URL: https://localhost:8080/home-1
r.Handle(http.MethodGet, “/home-1”, http.HandlerFunc(homeHandler))

//URL: https://localhost:8080/home-2
r.Get(“/home-2”, homeHandler)

//URL: https://localhost:8080/home-3
r.RegisterRoute(http.MethodGet, r.NewRoute().Path(“/home-3”).HandlerFunc(homeHandler))

//URL: https://localhost:8080/home-4
r.RegisterRoute(http.MethodGet, r.NewRoute().Path(“/home-4”).Handler(http.HandlerFunc(homeHandler)))

errorHandler := func(errs []error) {
for _ , err := range errs {
fmt.Print(err)
}
if != len(errs) {
os.Exit(2)
}


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/t6ZWJeM-Yd8/mux

Original article

The Best PCs You Can Build for $300, $600, and $1200

We’ve walked you through building your own computer before. In this post—which we’ll update periodically as prices and components change—we’ll walk you through the hardware we’ll need for three different system builds: a budget workstation, a powerful all-purpose PC, and an enthusiast’s system for gamers and…Read more…


Original URL: http://feeds.gawker.com/~r/lifehacker/full/~3/L077NTho56c/the-best-pcs-you-can-build-for-600-and-1200

Original article

Google’s DeepMind is Opening Up Its Flagship Platform To AI Researchers Outside the Company

Artificial intelligence (AI) researchers around the world will soon be able to use DeepMind’s “flagship” platform to develop innovative computer systems that can learn and think for themselves. From a report on BusinessInsider: DeepMind, which was acquired by Google for $400 million in 2014, announced on Monday that it is open-sourcing its “Lab” from this week onwards so that others can try and make advances in the notoriously complex field of AI. The company says that the DeepMind Lab, which it has been using internally for some time, is a 3D game-like platform tailored for agent-based AI research. […] The DeepMind Lab aims to combine several different AI research areas into one environment. Researchers will be able to test their AI agent’s abilities on navigation, memory, and 3D vision, while determining how good they are at planning and strategy.

Read more of this story at Slashdot.


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/rF8oEl7F7L0/googles-deepmind-is-opening-up-its-flagship-platform-to-ai-researchers-outside-the-company

Original article

Open-sourcing DeepMind Lab

Artificial general intelligence research in DeepMind Lab emphasizes navigation, memory, 3D vision from a first person viewpoint, motor control, planning, strategy, time, and fully autonomous agents that must learn for themselves what tasks to perform by exploring their environment. All these factors make learning difficult. Each are considered frontier research questions in their own right. Putting them all together in one platform, as we have, represents a significant new challenge for the field.


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/CtlwwnrkgtI/

Original article

Dockuwiki: A containerized wiki that backs itself up via git

README.md

A good old fashioned self backup-ing dokuwiki in a box.

But what is it?

A self installing instance of the venerable dokuwiki that backs itself up to a git repo every hour. All wrapped up in a docker image (sorry, bow not included). Blog post with details here.

But why is it?

I wanted a dead simple method of setting up wikis without hassle. Using a git repo for backups simplifies deployment and eliminates the need for a host with persistent storage.

I don’t get the name

I tried to be cute by combining “Docker” and “Doku”. Get it? Hah!

How do I use it?

Create a git repo somewhere that the docker host can access. Just don’t commit anything to it! In step 2, let’s pretend you used BitBucket for hosting the repo.
$ docker run -d –restart=always –name=wiki -e SSH_DOMAIN=bitbucket.org -e REMOTE_URL=git@bitbucket.org:USERNAME/wiki.git -p 3000:3000 ericbarch/dockuwiki
On the first run, the container will generate a


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/XC-ABeCLyTo/dockuwiki

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: