Böse 2015-11-02

loweel2015-11-02 11:04 To create the interface. Now I should have all.

Web templates for beego


2015-11-02 10:27 I plan to build a clone of gnusocial using golang . The backend will be SMTP+IMAP4. They are more than enough to deliver messages and mailing lists (aka Groups) between instances and to cover the whole “federation” requirements. I don’t like people which is reinventing the wheel, like who invented OStatus.

Beego web framework to build the interface.


2015-11-02 10:20 I plan to build a clone of gnusocial using golang . The backend will be SMTP+IMAP4. They are more than enough to deliver messages and mailing lists (aka Groups) between instances and to cover the whole “federation” requirements. I don’t like people which is reinventing the wheel, like who invented OStatus.

Libraries for SMTP


2015-11-02 10:15 I plan to build a clone of gnusocial using golang . The backend will be SMTP+IMAP4. They are more than enough to deliver messages and mailing lists (aka Groups) between instances and to cover the whole “federation” requirements. I don’t like people which is reinventing the wheel, like who invented OStatus.

go-imap official implementation


2015-11-02 10:09 Simple imap client in golang (preparation for ma project)

package main

import (
“crypto/tls”
“flag”
“fmt”
“github.com/nerdgguy/go-imap”
“os”
)

func usage() {
fmt.Print(“Only works on Gmail accounts\n”)
fmt.Print(“Make sure IMAP is enabled in your Gmail account.”)
fmt.Printf(“usage: %s email password\n”, os.Args[0])
os.Exit(0)
}

func main() {
flag.Parse()

args := flag.Args()
if len(args) < 2 {
usage()
}
user := args[0]
pass := args[1]

conn, err := tls.Dial(“tcp”, “imap.gmail.com:993”, nil)
if err != nil {
fmt.Print(“Connection to imap.gmail.com:993 failed”)
os.Exit(1)
}

im := imap.New(conn, conn)
//im.Unsolicited = make(chan interface{}, 100)

hello, err := im.Start()
if err != nil {
fmt.Print(“Hello failed”)
os.Exit(1)
}
fmt.Printf(“Server hello: %s\n”, hello)

fmt.Printf(“logging in…\n”)
resp, caps, err := im.Auth(user, pass)
if err != nil {
fmt.Print(“Auth failed\n”)
os.Exit(1)
}
fmt.Printf(“Server capabilities: %s\n”, caps)
fmt.Printf(“Server resp: %s\n”, resp)

examine, err := im.Examine(“INBOX”)
if err != nil {
fmt.Print(“Examine failed\n”)
os.Exit(1)
}
fmt.Printf(“Mailbox status: %+v\n”, examine)

fresp, err := im.Fetch(“1:*”, []string{“RFC822”})
if err != nil {
fmt.Print(“Fetch failed\n”)
os.Exit(1)
}
for _, fr := range fresp {
fmt.Printf(“Fetch resp: %v\n”, string(fr.Rfc822))
}
}

New note by loweel


2015-11-02 09:57 It is an awesome decentralized social network and I would encourage everyone to either join my instance, join some other instance, or start your own.

Installing GNU Social on a Debian Server


2015-11-02 09:51 LowEel started following <Mikael & Nordfeldth>.
LowEel (loweel)’s status on Monday, 02-Nov-2015 10:51:39 CET


2015-11-02 09:34 A bit of !art to make monday better (if possible). att-420
New note by loweel


2015-11-02 09:28 I only find some threads about this problem, where the issue was stated to be the migration from http to https. But I can’t understand how to fix it.
New comment by loweel


2015-11-02 09:27 Montag. att-419
New note by loweel


2015-11-02 09:25 Vim’s License

Vim is charityware. Its license is GPL-compatible, so it’s distributed freely, but we ask that if you find it useful you make a donation to help children in Uganda through the ICCF. The full license text can be found in the documentation. Much more information about charityware on Charityware.info.
New comment by loweel


2015-11-02 09:24 Yes, it is !gnusocial . But the problem is different: time ago I started it in clear. And it was working (you can see 6 groups there I subscribed). Then I put a https site, changing from http to https. I think this is impacting, but I have no idea how to fix it. Neither I can find documentation.
New comment by loweel


2015-11-01 22:32 Pfff…. still everything works, anybody can subscribe now, but still I can’t subscribe groups. Dunno why. I give up. This sw is too messy.
New note by loweel


2015-11-01 21:38 loweel favorited something by drymer: @loweel I think “don’t be a cunt” should be a motto for all people trying to fight something they see as wrong.
Favorite


2015-11-01 20:35 RT @staudurchnazis Achtung! PEGIDA trifft sich morgen wieder um 19 Uhr am Odeonsplatz. Bereich um Ludwigstraße weiträumig umfahren. Noch besser: dagegenhalten!
loweel repeated a notice by staudurchnazis


2015-11-01 21:10 Yes, this is the valley. I live near there. Interesting museum, btw.
New comment by loweel


2015-11-01 20:47 Neandertal valley again att-418
New note by loweel


2015-11-01 20:41 Neandertal Valley (~5Km from my home) att-417
New note by loweel


2015-11-01 20:32 Stindermühle ,~300m from my home. att-416
New note by loweel


  • PS: questo pezzo e le altre magnifiche elargizioni di saggezza di Uriel Fanelli LowEel sono analizzate su un altro blog degli Untermenschen che curano questo specchio.
  • PPS: pezzo automagicamente caricato da Fornello!
Annunci

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...