I hope this could serve as a starting point for a more lightweight Synapse implementation, for small user-counts.
While I certainly wouldn’t call synapse lightweight, I wouldn’t say that it’s prohibitively heavy either.
I have it running on a $10/mo VPS (2GBs of RAM and 1vcpu, SSD boot disk). The synapse process generally sticks around 200MBs of active memory for my usage (2 users, and not sitting in any rooms that have more than about ~1000 people in them. I have joined some of the large rooms briefly, and they don’t seem to give my server too much trouble). The nginx and postgresql ram and cpu utilization are negligible.
I use the VPS for other stuff so I plan to keep it the same size, but if I was running only synapse, I’d wager it would be fine on a smaller instance, provided you stayed out of large rooms such as matrixhq and synapse-admins. If you were strictly talking in local rooms to a small number of your friends, I bet a raspberry pi could handle it.
You’ right, lightweight wasn’t the right tern. I was thinking more of something that along the lines that doesn’t multiple components such as a DBMS, that all have to be configured and maintained. You know, something you can just install, run a configuration script then inform your init system about it, and be done with it. After all, lowering the barrier of setting such a system up, promotes federation.
Ah, yeah, I see what you’re saying. There is definitely some assembly required. I suppose if you went with sqlite, and did away with the webserver in front of synapse, you could lower the barrier of entry a bit. Though, I don’t know how much performance would suffer there.
Debian does package synapse (https://packages.debian.org/stretch-backports/matrix-synapse), so that may help a bit in terms of letting the init system know, etc.
synapse with sqlite is abysmally slow
even on a home server with just one user there will be concurrent db access all the time while federating
I feel so basic writing them out, but:
I recently started bouldering and climbing regularly, and I’ve enjoyed it thoroughly. One of the things I’ve found most interesting, is that at a basic level, it’s a problem solving activity. I spend most of my workday problem solving in code, and then I can hit the climbing gym in the evening and work on a totally different kind of problem! It seems to have helped my mindset and kind of changed the way I approach thinking about solutions at work.
That’s my favourite part too! I especially love how problems can just open up once I learn/master a new move.
Bouldering, three times a week. Maybe too often.
Bouldering, three times a week. Maybe too often.
No such thing as too often
I sprained my right hand’s middle finger; and 36 year old me doesn’t heal like 26 year old me did. 😖
I stand corrected for my silly comments, sorry to hear it.
I’d normally agree with your silly comment! Cheers mate.
Just this one so far: Designing Data-Intensive Applications
I do have a tendency to get about 50 pages through most books that I start, and then fail to pick them back up. It’s actually my new year’s resolution to finish a bunch of the books that I started in 2017… just haven’t figured out which ones yet.
In addition to what skade said, I also think it’s not a bad idea to read books “breadth-first”. That is, scan over the table of contents, then pick something you like. And even skim that chapter, pick up some of the key words and ideas, and come back to it later when you feel a need to (e.g. you need to implement something).
Some people express guilt over not finishing books, but I don’t feel bad about that at all. As long as I can finish SOME book, I don’t feel bad about not finishing a particular book. Particularly technical books. Actually I’m pretty sure I always read tech books in a random access “need to know” fashion, so I can’t say I’ve “finished” any of them.
Throw them on a stash randomly, read them top to bottom. If you feel like dropping one, drop it for good.
That’s not a bad idea! Having to prioritize fuels the procrastination. I’ll give this a shot.
I’ve used Etherpad a lot, since it’s the primary way various openstack projects take notes at the meetups. Is Hackpad a fork of Etherpad? Anyone who’s used both care to comment on the differences?
I don’t know if it’s a fork, but the Readme claims that it’s at least based on Etherpad:
Hackpad is a web-based realtime wiki, based on the open source EtherPad collaborative document editor.
Looks like a nice music player. Is it purely streaming via bittorrent, or can I point it at my local music library too?
It will play your local library.
The mozilla blog has some more info too. Most concerning to me is:
… in all the user directories it can access it looks for .bash_history, .mysql_history, .pgsql_history, .ssh configuration files and keys …
Guess I’ll be rotating SSH keys soon. The post also mentions that Windows and Linux users are vulnerable (but not OSX). I wonder if BSD is affected.
It mentions that OSX is vulnerable, but that the found exploit didn’t target it:
Mac users are not targeted by this particular exploit but would not be immune should someone create a different payload.
FTR, Openshift is the best free hosting solution I’ve found so far, definitely recommend.
How would you compare it to other PaaS services (say, Heroku)?
Very interesting. I’ve tried stumpwm in the past, which seems to have similar design goals. I think the split here is that EXWM goes a step further and regards individual windows as buffers, where stumpwm uses workspaces (or “frames”) as buffers. I’ll have to give this a shot when it’s a little more complete.
I honestly had no idea that you could run Nix on OSX; Neat! I may try to use this to help make my linux and OSX environments much more similar.
I ran in to issues with software not building quite a bit. I am not sure of the current state though.
It can be hit or miss most of the time But if more people use it and help it should improve. I’m somewhat in mid stream replacing homebrew with nix on osx. Still can’t get rid of homebrew just yet but getting there slowly.
Very interesting look! Being mostly entrenched in the openstack world, I’d not heard of Ganeti before. It looks a little simpler than openstack, and I may look into it the next time I’m building a “cloud” from scratch.
You might also be interested in Synnefo, which adds an OpenStack-compatible API and some other stuff to Ganeti.
It makes me happy to see things like this succeed :-) Good for Ola**2. I’ve found that the the Django Girls Tutorial referenced in that article is much more approachable than the official one.
I think it should be highlighted that suckless is writing their own init system. However, when someone is writing a “competing” tool, it doesn’t inspire much confidence in the argument (or the software, really) when their criticism of the other tool starts off like this:
There is a menace which is spreading like a disease throughout the Linux world, it is called systemd.
Think you can write a better init system? Great. Just ship your code, and enforce its superiority through correct design decisions. Let me know when a bunch of distributions have decided sinit is better than systemd (or even SysVInit, for that matter).
While it’s not an excuse for inflammatory language, keep in mind that this tired debate is basically hijacked by very loud, very obnoxious voices. So it’s understandable that some people who dislike systemd might get angry at constant accusations of extreme conservatism and incompetence. Angry enough to not being able to present their criticism without that anger showing. Same goes for pro-systemd folks.
I think it should be highlighted that suckless is writing their own init system.
uwotm8. A dumb init isn’t an init system, even by very lax definitions of such a thing. sinit is an init, it’s dumb as a brick and in no way is it enough to boot a system to a useable state.
It’s not completely honest, btw, to invoke the pure technical merit argument. Software rarely rises on pure technical merit, there’s a lot of politics (not talking evil conspiracies here) in the opensource community.
sinit, like most other suckless projects, does a single thing well, simply, and rests on the laurels of the Unix philosophy.
I’m not criticizing sinit here. Just being anal about widely used (even relatively ambigious) terms.
I know. I was just making the simplest argument, without inflammatory language, for sinit.
I’m not at all sure why more arguments systemd v. any other init system don’t just boil down to the statement I just made. But, they don’t; Because people are terrible.
I use openafs, which is unsigned. Pain in the bosom.
Same here… the cost for signing is probably more than the openafs project will ever be able to afford. I think they may be trying to get a few of the universities that use afs heavily to try and split the bill somehow :/
I’ve had an account for a bit. It’s neat, but not something I feel I’d use regularly. You have a login password, which they’re aware of, and a second encryption password to decrypt your mail after logging in. Your private key for the encryption is stored on their servers. Prontonmail -> Protonmail emails are encrypted “end to end”, but it’s not clear to me what happens with your mail when a non-protonmail account sends you something… I think it just sits unencrypted until the next time you log in.
When you want to encrypt something for non-protonmail users, they get an (styled, with HTML/JS I think) email, asking them to click a link and enter a password that you gave them out of band to decrypt the message (all done in a browser).
Overall, it’s nice if you’re only emailing other people with protonmail accounts, but clunky if not. I’m not even sure that it provides a better UI than Enigmail/GPG + Thunderbird.
Has anyone had much luck installing OpenBSD on an x220 with Intel HD graphics? Last time I tried (probably with OpenBSD 5.4) I couldn’t seem to get video acceleration working.
5.5 snapshots ran fine on my x230 w/Intel HD gfx… though, I’m not sure if video acceleration was working. I was able to run Gnome3, so I think that counts?
Whoa, I installed 5.6 and it worked without a hitch. I also took the opportunity to switch over to cwm after using ratpoison for awhile… a reminder of how nice the defaults are.
I have run accelerated graphics on my x220 for a while now. Check the perms on your /dev/drm* As it turns out I have “Intel HD Graphics 3000”
Lots of luck, daily.
Only think that i had issues with is my realtek wireless but i use a usb dongle to connect wirelessly until someone takes care of it.
I wrote a quick commentary on some of the issues at hand.
Crowdfunding needs some ways for non experts to be able to assess whether a certain project can deliver on its promises.(which ind.ie never could. Building your own smartphone with a handful of people?)
I think it can be done. Not a smartphone that can compete with Samsung or Apple on (all of) performance, fit-and-finish, and size, but it can be done. Bunnie and Xobs are shipping their open-source Novena laptop as we speak. There’s only two of them, and they seem to have fingers in many pies to boot :)
I don’t think this team could have. Bunnie and crew are technical people who have the knowledge, connections and know their limitations. These people didn’t seem to have a realistic goal. Maybe they can badge engineer a Chinese phone with some firmware, but even that I doubt.
I agree that it can be done – isn’t this what Jolla did?
I’ve heard a lot about ownCloud being poor in security and stability (as in: it struggles with large files) - are these still true?
I was running owncloud up until a few months ago (on Debian-ish systems). The “official” package repositories had their GPG key expire, and I think it took months to update it. The Ubuntu/Canonical package stopped getting updated too, if I recall correctly. But, I suspect these issues wouldn’t be as much of a problem with the way the ports system works on the BSDs (and of course, you can always do a source installation on linux too).
As for other security issues, I’d say that owncloud suffers from similar security issues as other well known PHP web apps (thinking Wordpress, Drupal, etc). But, being open source, we can hope those issues are caught quickly and updated.
I don’t remember large file syncing to be too problematic. The client got a little CPU hungry every once in a while, but nothing terrible.
In any case, I was only using the owncloud syncing, and wasn’t happy with the packaging issues, so I switched to Syncthing, and have been pretty happy with it. Clients and protocol are open, written in Go, overall pretty neat :)
Ah, and to add, the only real thing I miss from owncloud was that they had mobile apps for iOS and Android, Syncthing is only on Android right now (but I think Go is available soon in iOS, so maybe it’ll show up there soon!).
About to put the finishing touches on a Ceph Object Gateway deployment at work. We’ve currently got the storage cluster running and providing RBD volumes for our OpenStack cloud, but the object gateway will provide S3-like services on-site for our users.
Peter’s actual blog post is up here (posted link is a torrentfreak article on the blog post): http://blog.brokep.com/2014/12/09/the-pirate-bay-down-forever/
The official Puppet Labs packages will install it as a monstrous cylindrical tower.
This made me lol >.<