News for hackers. Stuff that matters.
Re:Why I left Medium and moved back to my own domain by JoshMnem on Sunday July 30, 2017 @11:55AM (#14886471)
I don't understand why people write programming blogs on Medium. I think that managing a live website with its own server (rather than only working on other people's projects) is a very important skill.

If you don't want to manage WordPress, try a static site generator like Metalsmith: https://github.com/segmentio/metalsmith

Deploy on Digital Ocean or Linode for $5/month. Free hosting options include Github Pages and Netlify.

Re:Why I left Medium and moved back to my own domain by mercer on Sunday July 30, 2017 @01:04PM (#14886831)
I can't speak for others, but one reason why I'd use something like Medium is precisely to ensure that I don't manage anything by myself except for the content production part.

I have a long list of attempts at setting up my own site, but because it's mine I wanted to get it just right. And so down the rabbit hole I go: making sure my server is super-secure (because it's important hey I'll learn in the process!), finally trying out Caddy, using Ghost (node.js), building my own static site generator using React for the backend, which of course means updating and perfecting my Ultimate Front-End Setup.

And once that's done, I want to do right by the design, and of course make sure my html/css/js is impeccable and that it all runs on every browser under the sun.

Of course I love doing this and I learn a lot from it, but if my goal is to write stuff and put it online, this approach never really works. I'm happy it doesn't, because it means I still love what I do more than writing about what I do, but it's one very legitimate reason to use something like Medium.

Re:Why I left Medium and moved back to my own domain by giobox on Sunday July 30, 2017 @01:47PM (#14887007)
I've had largely the same experiences. Recently I decided to challenge myself to instead keep it simple, rather than treat the whole thing as a "learn some new thing along the way" type exercise. The end result is I actually have a blog I'm actually writing on that is absurdly easy to maintain, rather than the usual (for me anyway!) 75 percent complete side project in some new technology I'll never get around to finishing.

Simple VPS, webserver, letsencrypt, static site generator, cloud flare for CDN duties and a little CSS. All I do now is write a new article in Markdown every now and then, then run a simple shell script to regenerate the site and rsync the newly minted static pages to the server.

Personal sites or new blogs are all too often victims of premature optimisation - your amazing google PageSpeed score is nice, but who cares if no one is reading.

Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @03:02PM (#14887312)
> Simple VPS, webserver, letsencrypt, static site generator, cloud flare for CDN duties and a little CSS.

Why didn't you host on Github Pages and you could have saved all that but having the same flexibilty regarding a SSG use case?

Re:Why I left Medium and moved back to my own domain by soulwatcher on Monday July 31, 2017 @01:12AM (#14889600)
GitHub suspended my account because I used it to host a "for-profit" website, which led to the website being down for several days before I checked.

I believe the last time I checked the TOS, no such mention was made for Github pages.

Re:Why I left Medium and moved back to my own domain by ValentineC on Monday July 31, 2017 @05:06PM (#14895892)
> GitHub suspended my account because I used it to host a "for-profit" website, which led to the website being down for several days before I checked.

What kind of website were you hosting?

Re:Why I left Medium and moved back to my own domain by soulwatcher on Tuesday August 01, 2017 @06:35AM (#14899299)
A website for a car rental organization.
Re:Why I left Medium and moved back to my own domain by giobox on Sunday July 30, 2017 @04:11PM (#14887558)
That's a hugely popular option for sure, and great for a ton of static site use cases, but you do sacrifice the flexibility of deploying whatever the hell you want on your own VPS. Who knows what I might want to do in the future?
Re:Why I left Medium and moved back to my own domain by corobo on Sunday July 30, 2017 @04:57PM (#14887775)
> Why didn't you host on Github Pages

Tried that once, fell down a 3 day rabbit hole trying all the static blog generators.. ended up picking WordPress.

Re:Why I left Medium and moved back to my own domain by cookiecaper on Sunday July 30, 2017 @08:48PM (#14888770)
Same. For all the times this is recommended, I haven't found a static blog generator that really works well. WordPress is still the easiest and most flexible to get running, but it's a PITA to keep it maintained.

After trying Lektor (fine for general use, but hard to theme; no pre-baked templating/theming system at all) and Hugo (tbh I don't remember the exact thing here, but I got really frustrated trying to do something and ended up deciding that themeless Lektor was better), I'm now holding out hope that Ghost, while not a SSG, will be good and simple enough that I can self-host a "blog" without falling back to raw HTML editing or WordPress. Started out by having to edit the package dependencies to versions that work on recent versions of Node... :\

Re:Why I left Medium and moved back to my own domain by bschwindHN on Monday July 31, 2017 @07:52AM (#14891075)
Write your own generator, it's pretty easy! Blogs don't have to be fancy, most programming blogs need just paragraphs, images, and code blocks. Then you can add fancier features (interactive diagrams, fancy animations, a nice deployment pipeline, etc.) as you go along.
Re:Why I left Medium and moved back to my own domain by illuminea on Tuesday August 01, 2017 @04:39AM (#14898805)
We developed Strattic to solve the issue of difficult to maintain and optimize WordPress websites. Strattic publishes WordPress websites as static sites, and the origin site sits behind a login so it's only accessible to you. No server issues etc. Strattic is currently in beta: https://strattic.com.
Re:Why I left Medium and moved back to my own domain by JoshMnem on Sunday July 30, 2017 @09:31PM (#14888929)
Try Metalsmith if you want to poke around and write code. Try Hugo if you want something that works out of the box but that doesn't have a plugin system.
Re:Why I left Medium and moved back to my own domain by ValentineC on Sunday July 30, 2017 @06:56PM (#14888315)
> Tried that once, fell down a 3 day rabbit hole trying all the static blog generators.. ended up picking WordPress.

I'm still falling through the very same hole. What made you pick WordPress?

Re:Why I left Medium and moved back to my own domain by corobo on Monday July 31, 2017 @02:23AM (#14889868)
Honestly no real reason other than it's the one I know and didn't want to spend any more time on finding software to write with instead of spending the time on writing

Essentially it was the default option

Re:Why I left Medium and moved back to my own domain by ValentineC on Monday July 31, 2017 @08:13AM (#14891188)
Heh I can empathise. Two of my biggest reasons for wanting to move to a static site generator are actually to have actual control over the content (in markdown files, and because WordPress and its plugins do a fair bit of processing on the raw content), and because I'm more comfortable hacking in languages that aren't PHP.

That seems to have stopped me from writing though.

Re:Why I left Medium and moved back to my own domain by corobo on Monday July 31, 2017 @08:17AM (#14891210)
> more comfortable hacking in languages that aren't PHP

Oddly enough it was the opposite of that for me. Each of the static site generators I looked at were non-PHP (which is fine but I lack the experience)

I tell you what, if someone ever had a gun to my head and said "make this Ruby software work first time without errors" they might as well just pull the trigger

Re:Why I left Medium and moved back to my own domain by tomc1985 on Sunday July 30, 2017 @03:45PM (#14887450)
> cloud flare for CDN duties

Unless you're pulling a lot of traffic this isn't necessary

Re:Why I left Medium and moved back to my own domain by giobox on Sunday July 30, 2017 @04:08PM (#14887550)
True, but the free account is trivial to setup, and because entire site is static I can use cloud flare to cache the entire thing. They also have some nice features entirely unrelated to scale ("Always Online" is a good example).

Given the barrier to doing this is virtually non-existent (it's a handful of clicks on the CloudFlare dashboard), seems silly not to take advantage.

Re:Why I left Medium and moved back to my own domain by tomc1985 on Sunday July 30, 2017 @05:03PM (#14887805)
Maybe... but everything was so wonderfully independent before Cloudflare gets dragged in
Re:Why I left Medium and moved back to my own domain by Antrikshy on Sunday July 30, 2017 @06:27PM (#14888195)
Medium is great and you have perfectly legitimate reasons to use it. But if you ever consider setting up your own website and/or blog, look into Jekyll (the site builder) and GitHub Pages for hosting.
Re:Why I left Medium and moved back to my own domain by computerex on Sunday July 30, 2017 @01:52PM (#14887027)
Self control is an amazing skill mate.
Re:Why I left Medium and moved back to my own domain by rainbowmverse on Sunday July 30, 2017 @03:39PM (#14887429)
Self-control is mostly just arranging your life to avoid situations that are known to cause problems.
Re:Why I left Medium and moved back to my own domain by OtterCoder on Sunday July 30, 2017 @08:22PM (#14888671)
And that doesn't take skill?
Re:Why I left Medium and moved back to my own domain by another-dave on Monday July 31, 2017 @03:33AM (#14890120)
Not that it doesn't take skill, but not putting yourself in that situation (by using something off the shelf) is applying that skill :)
Re:Why I left Medium and moved back to my own domain by needlessly on Monday July 31, 2017 @04:05AM (#14890228)
If i am a chef, sometimes I'm tired and just want to order take out. Same applies for a dev posting on medium
Re:Why I left Medium and moved back to my own domain by pavel_lishin on Sunday July 30, 2017 @12:05PM (#14886520)
But it's not the same sort of skill as, say, doing low-level graphics programming, or database query optimization. Just because you're a programmer doesn't mean you're a web developer.

It's like saying that it doesn't make sense for a carpenter to live in a house they didn't build, or for a heart surgeon not to pull out his own wisdom teeth.

Re:Why I left Medium and moved back to my own domain by dasil003 on Sunday July 30, 2017 @01:30PM (#14886940)
To be fair, it probably doesn't make sense for a dental surgeon to pull his own teeth either.
Re:Why I left Medium and moved back to my own domain by Kenji on Sunday July 30, 2017 @02:41PM (#14887216)
If you're a halfway decent programmer, deploying a simple blog is trivial. There are many existing solutions that don't even require you to write a single line of code, and the problem is simple enough that you could write the entire thing yourself.
Re:Why I left Medium and moved back to my own domain by matwood on Sunday July 30, 2017 @05:04PM (#14887809)
> If you're a halfway decent programmer, deploying a simple blog is trivial.

The first thing a halfway decent programmer learns is to not reinvent the wheel. I could implement some json library, but I have better things to do. I could deploy and manage wordpress, but that would be a waste of my time.

This relates to a post from the last couple days where a potential game programmer got lost in some random issue instead of focusing on making a fun game. When blogging, content should be the focus, not managing a website.

Re:Why I left Medium and moved back to my own domain by Kenji on Sunday July 30, 2017 @05:44PM (#14887988)
I like keeping what I do on my website because it is my property and I would never populate other people's websites with my content, unless I got enough money for it.
Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @02:43PM (#14887223)
I disagree. It doesn't matter what kind of coder you are, at some point you always deal with a shell. And setting up a blog on bare metal is done in few minutes on a shell. If you have never faced a shell or a remote server as a developer then you should find a toy project to do so. It's not the worst skill to have.

Moreover, I wouldn't see basic HTML or CSS as specific knowledge. This is something every coder knows (like English), of course not advanced layout stuff like Flexbox but the basic of HTML and CSS are common knowledge. And you do not need React, Webpack or any advanced stuff to make a simple SSG blog. You even don't need to understand HTML or CSS if you just stick with the standard templates. Just Markdown.

Edit: Why the downvote?

Re:Why I left Medium and moved back to my own domain by sigstoat on Sunday July 30, 2017 @03:06PM (#14887330)
> Moreover, I wouldn't see basic HTML or CSS as specific knowledge. This is something every coder knows (like English), of course not advanced layout stuff like Flexbox but the basic of HTML and CSS are common knowledge

i work in a building full of embedded developers who wouldn't know a css selector if it bit them on the ass.

what use is it to any of them?

Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @03:18PM (#14887370)
> i work in a building full of embedded developers who wouldn't know a css selector if it bit them on the ass.

Maybe, maybe not. Even embedded coders face HTML/CSS at some point when their embedded devices incorporates a webserver for some admin interface which sends HTML/CSS to the world (e.g. a router). Or they have create an API doc for their newly created embedded system, on the web. There are many examples.

What I am saying is that HTMl/CSS is ubiquitous in tech and besides, not that hard to grok compared to code in Assembly or C for an embedded system. And again they don't need HTML or CSS anyway. They just need to know a bit of bash, git, Markdown and a SSG of their choice.

Re:Why I left Medium and moved back to my own domain by sigstoat on Sunday July 30, 2017 @03:27PM (#14887392)
> Maybe, maybe not.

uh it isn't some sort of weird toss-up? i'm referring to specific people who i know.

> Even embedded coders face HTML/CSS at some point when their embedded devices incorporates a webserver for some admin interface which sends HTML/CSS to the world (e.g. a router). Or they have create an API doc for their newly created embedded system, on the web. There are many examples.

there's a whole world of embedded stuff that doesn't have admin interfaces, doesn't have APIs, etc. you can concoct increasingly strained examples all day long, and there are still folks doing work you didn't realize was even a thing, who'll have long and profitable careers without touching a line of CSS.

Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @03:36PM (#14887418)
Ok, it's hard to imagine that such people exist but I believe what you say. You are right, they should rather use Medium.
Re:Why I left Medium and moved back to my own domain by mitchty on Sunday July 30, 2017 @05:50PM (#14888014)
I work with a lot of kernel dev type people, you may find it hard to imagine but there are a lot of people that only program in c, maybe python.

I even know a lot of fortran only programmers. If you think html and css are common you might want to expand your scope of programmers, there is a lot of people that don't need or want to know about web programming.

Re:Why I left Medium and moved back to my own domain by SAI_Peregrinus on Sunday July 30, 2017 @05:10PM (#14887848)
I'll use my Father as an example. He works for Autodesk, before that he worked for Revit (when they were a tiny startup before Autodesk bought them out). He writes code in C++ mostly (I think some C# these days). He doesn't use HTML or CSS, and has never learned either. Not because he can't, just because there's not been any point and because the amount of effort that would take is large enough to not be worth it. Why spend several hours or days of extra effort just for a blog post? Not to mention the extra money needed to buy a domain and hosting.
Re:Why I left Medium and moved back to my own domain by wyclif on Monday July 31, 2017 @05:52AM (#14890617)
I don't understand this, because C++ or C# are both high-level programming languages. HTML, on the other hand, is simple markup language. I'd think it would take somebody on that level a weekend to learn it, possibly a few weeks or a month to be confident writing it.
Re:Why I left Medium and moved back to my own domain by WildGreenLeave on Monday July 31, 2017 @09:35AM (#14891786)
I think you are missing the point. He is not saying that his father can't do it, he is saying there is no point in his father learning it.

Edit: words go in a specific order.

Re:Why I left Medium and moved back to my own domain by KGIII on Sunday July 30, 2017 @07:48PM (#14888535)
I haven't touched HTML since somewhere around v. 3.x... I haven't ever bothered to really learn CSS. I am retired, but I once write software to model traffic.

Just another datapoint for you.

I can install Wordpress and a theme. I have no idea how to really customize said theme. I could learn, I am not feeling compelled to do so.

Re:Why I left Medium and moved back to my own domain by pm215 on Sunday July 30, 2017 @04:11PM (#14887557)
HTML is really not all that ubiquitous. The breadth of the technological world is wide... In any case, from my point of view the question is not "could I put together a virtual server with some kind of blogging software on it?" (I'm sure I could) but "is that the most interesting/important/worthwhile thing for me to do with my limited time?" and "do I want to give myself the ongoing maintenance chore of ensuring that the server and software stack is up to date with security updates?". Those two things are why I host my rather-intermittently-updated technical blog on wordpress.com.
Re:Why I left Medium and moved back to my own domain by Matt3o12_ on Sunday July 30, 2017 @04:58PM (#14887783)
Having a Webserver is not that simple. Even if you knew HTML and CSS good enough to make decent looking blog, there are many things that are not so simple:

- installing the basics. Why would I know if I should use Apache or Nginx. The internet is no help for that and while both are easy to use, it is not obvious how to publish a blog. You might also need other systems such as a MySQL db if you want to use Wordpress to publish. And I wouldn't expect a Postgres to know how to use MySQL

- securing the server. I would not expect everyone to know how to secure a server. There are some many things that are hard. Even iptables is not easy if you use it for the first time (don't get my started on firewalld). More advanced things such as AppArmour or SELiunx are freaking overwhelmingly when you use it for the fist time and only use a shell. Those things take time to learn and get right. It is useless if you set up the ip tables correctly but save them incorrectly so they flush after a reboot.

- keeping the server up to date. It requires discipline to active look for updates and act once they are discovered. Why would a embedded programmer want to bother.

- price: while 5 bucks is not much for many of us, it adds up, Especially when you have many such little things. Secondly, such a cheap server might not be enough. You need backups which requires additional work. Furthermore, if you do not use a static website, the hacker news front page could quickly overwhelm such a little server (it might even be hard with a static website).

These are all reasons why one should not use their own server for that. If you want to learn a lot about web servers, having a blog is a good and valuable start but I would never expect anyone to do that

Re:Why I left Medium and moved back to my own domain by illuminea on Tuesday August 01, 2017 @04:42AM (#14898813)
That's why we developed Strattic: it allows users to enjoy the flexibility and power of WordPress without the need to maintain and secure servers. Strattic publishes the site as static and serverless, and the origin site is only available to the site owner. It's like a static site generator, but for WordPress. Strattic is currently in beta: https://strattic.com.
Re:Why I left Medium and moved back to my own domain by untog on Sunday July 30, 2017 @12:46PM (#14886742)
There's more to Medium than exists on the surface. It's an entire social network of people recommending and tagging articles, newsletters, all sorts - I've gotten good long term traffic before now from posting on Medium, traffic that lasts a lot longer than a short term (but much higher) burst from a Reddit or HN post.

The problem for Medium is that it just wasn't successful enough. If a lot more people were using it, it would make sense as a social platform. But it's mostly just a blog platform people link to.

(also, being able to host a blog is an important skill, but I'd never dismiss a programmer who wrote a fascinating article just because they didn't also self-host it. I could just as easily make the case that writing clearly is an important skill, and any programmer who wrote an incoherent blog post is not worth their salt. But I won't.)

Re:Why I left Medium and moved back to my own domain by csallen on Sunday July 30, 2017 @01:14PM (#14886867)
> I don't understand why people write programming blogs on Medium. I think that managing a live website with its own server (rather than only working on other people's projects) is a very important skill.

You've listed two different objectives: writing a programming blog, and learning to manage a live website. Why should anyone interested in the first automatically care about the second?

Re:Why I left Medium and moved back to my own domain by ageitgey on Sunday July 30, 2017 @12:08PM (#14886536)
Some people (like me) write programing blogs on medium because it's much easier to get an audience there then on your own domain. It has nothing to do with technical issues. Like it or not, often more people will discover and share medium articles than posts on a no-name domain.
Re:Why I left Medium and moved back to my own domain by styfle on Monday July 31, 2017 @07:59AM (#14891121)
This is precisely why I created a medium account-- because there is already an audience that is reading, liking, and commenting on articles. I tested this theory by cross posting articles to both my domain[0] and to Medium[1]. The Medium article has thousands of views in a month and my domain gets maybe 20 views a month. This is partly because "publishers" pick up articles on Medium which shows it to a new audience.

[0]: https://www.ceriously.com/blog/post.php?id=2017-05-09-nodejs...

[1]: https://medium.com/front-end-hacking/promises-in-node-js-8-x...

Re:Why I left Medium and moved back to my own domain by vit05 on Monday July 31, 2017 @01:38AM (#14889706)
I think that is the main reason for most of the non-technical people too. Medium started as a great way to be discovered. They have a minimal style that makes people compare the text and content. Is something totally different from host a weblog.
Re:Why I left Medium and moved back to my own domain by technofiend on Monday July 31, 2017 @09:50AM (#14891920)
That and there's every chance tight web filters will block a random domain; I can't read the linked article, for instance.
Re:Why I left Medium and moved back to my own domain by computerex on Sunday July 30, 2017 @01:51PM (#14887023)
I use Hugo with Digital Ocean and GitHub. Simple nodejs express script is running via PM2 and is listening for GitHub messages and serving as a webhook. Whenever I push to the site repo on GitHub, the webhook fires, which fires the build script, which does a git pull and executes the hugo command to rebuild the site.

It's a delightful experience.

Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @05:09PM (#14887840)
That build process can be done using TravisCI for free, provided the GitHub repository containing your Hugo base is public (and why wouldn't it be?) This removes the need for that Droplet and its associated cost.
Re:Why I left Medium and moved back to my own domain by computerex on Monday July 31, 2017 @09:19AM (#14891632)
Nice, good to know. I'll use Travis in the future for some side projects. But for my site/blog I think I'll stick to using my current droplet because I currently have no build time delay, and hugo is very fast. As soon as the push to github is complete, I just refresh my browser and the changes are in. With Travis it appears all open source projects share the same build queue so it can take minutes for the changes to take effect.
Re:Why I left Medium and moved back to my own domain by movedx on Tuesday August 01, 2017 @06:35PM (#14906099)
That's fair enough.
Re:Why I left Medium and moved back to my own domain by Rjevski on Sunday July 30, 2017 @12:50PM (#14886758)
For me the main problem with self hosting is that I ended up spending more time tinkering with the website than actually writing content for it.

A hosted platform like Medium or Svbtle solves this problem.

Re:Why I left Medium and moved back to my own domain by katpas on Sunday July 30, 2017 @04:49PM (#14887745)
I'm a Web developer and I could manage my own blog site but I choose not to as it would be one more site I have to maintain. I'd rather put that time into building the product for my company or sleeping/doing something else.

To suggest that any half way decent programmer should do that is the same as suggesting you write all your css from scratch instead of using a front end library to help. Doable but ultimately is it the best use of your time?

Re:Why I left Medium and moved back to my own domain by loomer on Sunday July 30, 2017 @01:22PM (#14886899)
One of the main reasons people use Medium is that their posts will be viewed by random Medium users in addition to their own fan base, thus growing their fan base and getting more views both in the short and long term.

I'd compare it to YouTube. People could theoretically host their own videos, but the main reason people use YouTube is because it is so much easier for others to discover your videos.

Also, +1 on using Linode! Have had multiple projects on their servers. No downtime at one point for over 365 days.

Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @05:14PM (#14887867)
> I'd compare it to YouTube. People could theoretically host their own videos, but the main reason people use YouTube is because it is so much easier for others to discover your videos.

I appreciate the effort to create a comparison or analogy here, but hosting video is a far, far bigger problem than hosting some text. Bandwidth costs will reach into the thousands of dollars per month video that gets a few thousands views, which isn't hard to get on YouTube's platform.

Re:Why I left Medium and moved back to my own domain by HappyTypist on Monday July 31, 2017 @02:40AM (#14889925)
You are off by four orders of magnitudes

DigitalOcean, Vultr, Linode: $0.02 per GB over your transfer limit

OVH $9/month VPS: 100mbps unlimited bandwidth, and yes, OVH doesn't care if you have 7x24 100% utilisation on your 100 mbps.

Let's say you have a 100MB video that gets 20,000 views, and half of the viewers end up streaming the full video.

BW incurred: 1 TB. Cost to you: $20

Re:Why I left Medium and moved back to my own domain by movedx on Tuesday August 01, 2017 @06:34PM (#14906081)
Have you ever produced videos for mass consumption? I have. They don't weigh in at 100mb. Try 500mb. And the aim with sharing videos is to get as much global reach and viewership as possible -- 20,000 views? What? I want hundreds of thousands of views otherwise what's the point in putting the effort in?

If I can produce a blog post in three days that gets 100,000 hits and allows me to provide affiliate links, multiple, constantly visible adverts, and so on, all for $5/month, why would I spend five days writing scripts, filming video, doing post production, and uploading the video for potentially less impact at 10x the cost?

Re:Why I left Medium and moved back to my own domain by huebnerob on Sunday July 30, 2017 @02:18PM (#14887120)
Don't underestimate the value of a known format. I have just as much distaste for Medium as the next person, but at least I know how to navigate the site and I don't need to constantly be subject to the unique style choices of the individual. If it's your site, you can obviously do whatever you want with it, but realize that deciding on Helvetica Neue Ultralight on a low contrast background is only broadcasting your unique lack of design pragmatism.
Re:Why I left Medium and moved back to my own domain by xtracto on Sunday July 30, 2017 @07:00PM (#14888328)
I've been using ghost and digitalocean for my CV site for some time (godinez.soy) and it has been amazingly easy.

As you, I never understood the attraction of the Medium platform for technical people. I mean, Blogspot was there long before them and multiply.com even before (for non-technical people).

For non-tech people I understand the value of it, however given the speed at how companies fold nowadays, I would not be happy giving away control of my content to someone else.

Re:Why I left Medium and moved back to my own domain by arkitaip on Sunday July 30, 2017 @01:49PM (#14887014)
It can also be absolutely trivial and soul sucking in that you have to do lots of maintenance when all you want to do is share ideas.
Re:Why I left Medium and moved back to my own domain by AYBABTME on Monday July 31, 2017 @04:18AM (#14890273)
Fatih works at DigitalOcean and absolutely knows how to manage a server.

People write blogs on hosted platform, despite being fully capable of hosting it themselves, because they don't want to be managing a server when they set themselves up to write something.

Re:Why I left Medium and moved back to my own domain by bdcravens on Sunday July 30, 2017 @03:36PM (#14887422)
Why would a programmer use Github when they could easily run Gitlab on Digital Ocean?
Re:Why I left Medium and moved back to my own domain by wahern on Monday July 31, 2017 @09:32PM (#14897259)
Because Github is, for the time being, what everybody else is using. You can't go wrong choosing Github in terms of users and contributors being familiar with the interface.

That said, I only use Github as a mirror. My "master" repositories are on a private, co-located server. The beautiful thing about Git is that it doesn't require any special software on the server side for hosting--just the regular client. And in particular, Git doesn't require a special daemon service. It doesn't even require a special service for hosting read-only HTTP repositories. The stock Git client can clone repositories over HTTP from static site files. My "official" public Git URLs are just HTTP URLs to a static read-only mirror which is updated from a Git hook when pushing. Those HTTP mirrors required no additional configuration whatsoever; they just sit inside my public_html/ user tree.

The secret to running your own server over the long term (I've been co-locating a server for almost 2 decades) is to keep things simple. It helps that I use OpenBSD, which has always maintained default web and mail servers which, even if disabled by default, are still "secure by default" in the sense of the stock software and configuration being well thought through. (This is especially true since OpenBSD replaced sendmail and Apache with their own software.)

I originally used CVS before switching to Subversion for a few years. But I was never comfortable exposing even a read-only mirror until I switched to Git, as both CVS and Subversion required special server-side software that I was unwilling to run, let alone maintain.

I only started using Github because most other people prefer using Github's interfaces for forking repositories and submitting pull requests. It's a trivial cost on my end (just an additional push), so I don't mind.

Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @05:12PM (#14887853)
GitHub's UI is far superior, for one. You're also placing your code in an ecosystem of other OSS projects, which I believe is a good thing.

Also, GitHub private repositories for an individual are far cheaper than running a H/A GitLab on DO, AWS, Linode, or any provider worth mentioning. By definition of running a H/A solution on DO's cheapest offering, you're paying $15/month for three VMs, and we haven't started talking about backups yet.

It's not worth it at all.

Re:Why I left Medium and moved back to my own domain by bdcravens on Sunday July 30, 2017 @06:14PM (#14888139)
Many of the same arguments could made for using Medium instead of running your own blog software.
Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @07:15PM (#14888393)
I never said I was against Medium ;)

I'm against self hosting when it makes no sense to do so, and only because I've seen people get burnt by the process and I don't want to the same to happen to you. I'm probably capable, but many aren't.

Legal or regulatory reasons are the only reasons I can think of that might force your hand in to self-hosting.

Re:Why I left Medium and moved back to my own domain by sytse on Monday July 31, 2017 @12:40PM (#14893530)
What is the nr. 1 thing you would change in GitLab to improve the UI?
Re:Why I left Medium and moved back to my own domain by ohfouroneone on Monday July 31, 2017 @03:24AM (#14890097)
I have a Medium account and my own blog. On Medium I get about 5K+ readers/month. On my blog I get 5. That's why people write on Medium.
Re:Why I left Medium and moved back to my own domain by romaniv on Monday July 31, 2017 @11:37AM (#14892944)
What I don't understand is why there aren't open online magazines/blogs for this kind of stuff. I.e. a blog with well-defined subject where there is some minor editorial oversight to filter out garbage, but where anyone can submit an article. This strikes the perfect balance between individual blog and a publishing platform. It can have features specific to the subject. The quality will be better. I've run a website like this with a bunch of people in the mid-00s and it was great. It had a real consistent community, and there wasn't a split between "staff" and "readers" which creates so many problems for more traditional online magazines.

The whole Web 2.0 movement vilified editor, but I think this was a great disservice to the Web. I'd love to have a website like I described above for programming stuff. It would allow me to concentrate on content, rather than maintenance of my own website and constant self-promotion.

Re:Why I left Medium and moved back to my own domain by qznc on Sunday July 30, 2017 @12:18PM (#14886587)
I did not know Netlify and looked it up. I found this image [0] on their features page. Is that a joke or does their cli tool really use left-pad?

[0] https://www.netlify.com/img/features/section-art/dev-tools.p...

Re:Why I left Medium and moved back to my own domain by bobfunk on Sunday July 30, 2017 @02:11PM (#14887099)
It's a joke, we don't actually use neither left-pad nor is-positive-integer...
Re:Why I left Medium and moved back to my own domain by icebraining on Sunday July 30, 2017 @12:51PM (#14886765)
I think it's a joke (npm doesn't list it).

I would say the next two packages were just joke names, but apparently "is-positive-integer" does exist[1]... though I suppose it might still be a more elaborate joke, but 1000+ downloads per month? The JavaScript world is simply amazing.

[1] https://www.npmjs.com/package/is-positive-integer

Re:Why I left Medium and moved back to my own domain by int_19h on Sunday July 30, 2017 @05:53PM (#14888026)
Re:Why I left Medium and moved back to my own domain by BinaryIdiot on Monday July 31, 2017 @02:18AM (#14889850)
> I don't understand why people write programming blogs on Medium. I think that managing a live website with its own server (rather than only working on other people's projects) is a very important skill.

Because doing that yourself is a complete waste of time. Every web developer knows how to make a blog. All of them. So who cares if I make one or not to post my opinions online? No one.

So you can either spend the time dealing with server load, updates, maintenance, etc on a project everyone already knows how to develop and proves absolutely nothing about your skills or knowledge (not to mention being more expensive depending on provider and traffic) or you can let someone else handle it for you that may have multiple ways to accessing and publishing your content (medium, square space, wordpress, etc).

Managing your time is really important as a developer. Maybe managing a blog is a good use of your time but it certainly isn’t for me.

Re:Why I left Medium and moved back to my own domain by ship_it on Monday July 31, 2017 @02:55AM (#14889973)
> So you can either spend the time dealing with server load, updates, maintenance, etc on a project everyone already knows how to develop and proves absolutely nothing about your skills or knowledge

Wait, what? The man just give you an option to use static site generator, and he even included the link of one. The cost of using this instead of Medium is absolutely nothing (Github account offer page hosting).

Re:Why I left Medium and moved back to my own domain by BinaryIdiot on Monday July 31, 2017 @03:20AM (#14890081)
> Wait, what? The man just give you an option to use static site generator, and he even included the link of one. The cost of using this instead of Medium is absolutely nothing (Github account offer page hosting).

What you seem to be getting at is that your time is worth absolutely nothing and that it is worth using your time to create a simple, static blog and hosting it somewhere free.

I disagree that your time is worth nothing but maybe we value our time differently. Regardless it misses my point: if I'm comparing one developer to another it's never going to even enter my mind that they may or may not have developed their own blog because it's an entirely pointless distinction.

Re:Why I left Medium and moved back to my own domain by coldtea on Sunday July 30, 2017 @08:34PM (#14888715)
>I don't understand why people write programming blogs on Medium. I think that managing a live website with its own server (rather than only working on other people's projects) is a very important skill.

And knowing when not to waste your time setting up one is an even more important skill.

Re:Why I left Medium and moved back to my own domain by tayo42 on Sunday July 30, 2017 @12:38PM (#14886702)
Their day job might be managing servers :)
Re:Why I left Medium and moved back to my own domain by daveguy on Sunday July 30, 2017 @12:03PM (#14886511)
Another free option: gitlab pages with built in ci configurations for a bunch of different static generators. All you have to do is commit for updates.
Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @02:37PM (#14887203)
Totally agree. Code embedding is also limited on Medium, I think they still lack syntax highlighting.

Btw, great tip wih Netlify. How is your experience with them, what are pros cons compared to Github Pages and can I run server code like Node for free?

Re:Why I left Medium and moved back to my own domain by rhizome on Sunday July 30, 2017 @03:06PM (#14887326)
OT, but syntax highlighting is hardly the weakest part of displaying code on a webpage. Nobody's disrupting horizontal scrollbars or margin-busting, but the first person who does is going to be a hero.
Re:Why I left Medium and moved back to my own domain by fgandiya on Monday July 31, 2017 @01:23PM (#14894005)
I was so close to doing this when I was making my new blog, then I found out that the CSS element responsible for making the code block scollable isn't supported on mobile.
Re:Why I left Medium and moved back to my own domain by cyberferret on Sunday July 30, 2017 @06:21PM (#14888166)
Any time I have to embed code in Medium, I just type the code in a free Github Gist and post the link - Medium automatically embeds the Gist in a nice, syntax highlighted format, with a link to the original gist.

e.g. (towards bottom of this article I wrote - syntax highlighting in HTML, Javascript and Ruby snippets): https://hackernoon.com/building-a-face-recognition-web-app-i...

Re:Why I left Medium and moved back to my own domain by movedx on Sunday July 30, 2017 @05:15PM (#14887873)
> Totally agree. Code embedding is also limited on Medium, I think they still lack syntax highlighting.

Limited how? I find embedding GitHub Gist's works perfectly fine and is automatic -- just paste the link to the Gist in your post and you get an embedded object.

Re:Why I left Medium and moved back to my own domain by superasn on Monday July 31, 2017 @03:04AM (#14890024)
Amazon S3 is also a great option for hosting static content. The cost are negligible because you only pay for bandwidth not hosting.
Re:Why I left Medium and moved back to my own domain by BartSaM on Sunday July 30, 2017 @12:02PM (#14886507)
Or even $2,5 Vultr if you are on a budget.
Re:Why I left Medium and moved back to my own domain by simik on Sunday July 30, 2017 @01:24PM (#14886909)
They are constantly "Temporarily sold out", at least in European regions.
Re:Why I left Medium and moved back to my own domain by BartSaM on Sunday July 30, 2017 @02:18PM (#14887124)
They are available, but only in NY and one more (not sure which). I have confirmed this with their support. I am not sure if they are planning to introduce them in other regions anytime soon. I think NY is pretty much a good global location for America + Europe markets.
Re:Why I left Medium and moved back to my own domain by cupcakestand on Sunday July 30, 2017 @03:06PM (#14887332)
Agree that for a western English audience NY is the best location reaching both the US and EU with a ok latency.
Re:Why I left Medium and moved back to my own domain by shurcooL on Sunday July 30, 2017 @08:03PM (#14888598)
I tried and gave up right away. You can't even insert a tab character. How can you write any code snippets?

https://medium.com/@shurcooL/trying-out-medium-b1cee6165fef

Re:Why I left Medium and moved back to my own domain by needlessly on Monday July 31, 2017 @04:02AM (#14890218)
You don't understand that medium gets more traffic than someone's personal website.
Re:Why I left Medium and moved back to my own domain by crispytx on Sunday July 30, 2017 @04:06PM (#14887542)
I use Medium because I think their blogging software is superior to their competitors (WordPress). If there was something out there as good as Medium that I could install on my own servers I might do that. This seems to be the hierarchy of blogging software to me: Medium > WordPress > Blogger

I'm sure there are some other really great options out there that I've never heard of. And I'm sure if you spend a great deal of time looking you can find kickass WordPress themes. But the default WordPress themes are pretty weak, and Blogger is really weak.

So anyway, that's I use Medium to host my blog, because their blogging software simply kicks ass.

Re:Why I left Medium and moved back to my own domain by justanton on Sunday July 30, 2017 @04:24PM (#14887610)
Did you try Ghost (https://ghost.org)? Their editor is quite good. Also, they've released version 1.0 a few days ago.
Re:Why I left Medium and moved back to my own domain by cyberferret on Sunday July 30, 2017 @06:17PM (#14888147)
+1 for Ghost - it is really lightweight, and I have a blog running on it on a $5/mo Digital Ocean instance.