Fork me on GitHub
#off-topic
<
2019-02-18
>
idiomancy00:02:50

is anyone aware of a good drop dead easy way to host a very simple "blog" format from, like, a directory of files in s3?

idiomancy00:02:12

or whatever your online file storage of choice is

idiomancy00:02:55

I just want to be like "yo, ive got some blog entry files, gimme a blog "

idiomancy00:02:10

wordpess uses a mysql backend which is way overkill

futuro00:02:24

As in, a collection of html files?

futuro00:02:40

Or markdown that’s processed by the platform into html?

idiomancy00:02:45

or markup or whatever it wants to use

futuro00:02:18

I believe GitHub can do that, and even using your own hostname (somehow)

idiomancy00:02:42

huh really? thats interesting

futuro00:02:49

And I remember seeing something like hosting a website from S3, but I don’t know how.

futuro00:02:06

“GitHub pages”, I think it’s called.

idiomancy00:02:27

oooh, thats very interesting...

idiomancy01:02:00

Yo @futuro GitHub Pages looks perfect!

futuro01:02:38

Primo, glad to help 🙂

seancorfield02:02:58

And, yes, you can use your own domain -- http://corfield.org is my blog on GitHub Pages, with my own domain (that has pointed at lots of other places previously).

seancorfield02:02:32

I've had the GitHub Pages blog for about five years now, but I've been blogging since... 2002 I think...

henrik04:02:48

I recently had the challenge of finding something that was reasonably fast for me to set up, yet usable for non-technical people. I settled on Publii: https://getpublii.com/ It's got support for pushing your page pretty much anywhere, including S3.

cvic08:02:33

Reading about total functions, no idea how that can be done in Clojure... https://adamdrake.com/are-your-functions-total.html

cvic09:02:37

hm, halt-when looks interesting...

myguidingstar09:02:55

@idiomancy Github Pages only support jekyll and static files. If you're using something else, and don't want to spend extra time build the static html files from source locally and add commit them to git, you may consider Gitlab Pages

myguidingstar09:02:44

for instance, I use gitbook to produce documentation for my sql library at https://walkable.gitlab.io/

myguidingstar09:02:26

after initial config, all I have to do is to push the markdown source to gitlab

myguidingstar09:02:24

and gitlab CD pipeline will automatically compile the latest markdown to html and serve it

3Jane11:02:51

+1 for github pages, I run a Cryogen-based personal blog there 🙂 (Cryogen = like Jekyll, but written in Clojure 😄 )

3Jane11:02:22

but also this is a thing that exists: https://www.netlify.com/

myguidingstar12:02:13

@lady3janepl with Cryogen+Github Pages, you have to build static html files locally yourself, no?

3Jane12:02:01

yes, and I think it’s a better solution than building them on the fly every time someone requests them

💯 10
3Jane12:02:14

I’ve gone over a number of solutions over the years, starting with SSI (! I’m old), through Wordpress-on-hosting, Wordpress-on-VPS, and now a static page generator

dominicm12:02:24

@lady3janepl gitlab CI builds them for you is the point I think

👍 10
3Jane12:02:35

only jekyll, cryogen you have to do manually

dominicm12:02:44

Git*lab* 😄

3Jane12:02:46

oh, gitlab, then I don’t know

dominicm12:02:01

I wonder if GitHub pipelines change this at all.

dominicm12:02:11

you can always use circle though 🙂

3Jane12:02:22

nyway, I find a static page generator the best solution for a blog because: I want to write articles in a goddamn text editor and not a browser

❤️ 10
dominicm12:02:25

GitLab's pages integration with the CI is really slick though

dominicm12:02:30

yeah, +1 to that

yogidevbear12:02:01

I like the look of klipse integration with cryogen

3Jane12:02:24

and I like to build them locally as I write them, because I use a number of display-heavy features (dotfile-generated graphs, code snippets, manual html inserts)

3Jane12:02:29

(and klipse, yeah)

myguidingstar12:02:49

@lady3janepl maybe you only want to commit your source (markdown, clojure) to git and NOT your compiled html/css/js files

3Jane12:02:27

I do both, because I have custom (non-cryogen generated) mixin pages and files to download. YMMV 🙂

Denis G15:02:30

I'm planning to start a new project and I'm thinking what to pick. I'd like it to improve my CV, so that I get more responses from Big N companies (MS, Google, Amazon, etc.) I am planning to implement DHT or something on top of DHT, maybe a peer-to-peer PubSub system based on DHT. Due to my interest in Clojure, i'd like to do it in it, but I'm thinking that me implementing it in Scala + Akka will greater improve my CV and gonna make me more attractive at the job market. Your opinions?

idiomancy16:02:12

Personally, all the hiring decision makers I've been in contact with just sort of assume Scala isn't a problem for you if you are proficient in Clojure

idiomancy16:02:40

one functional JVM language vs another ¯\(ツ)

superancetre16:02:59

I guess if you know both Java and Clojure, what's stopping you from learning Scala quickly?

Denis G16:02:49

so you would advise a Scala over Clojure project for better career opportunities, right?

cvic16:02:48

I don't like Scala at all

cvic16:02:55

But that's a matter of personal taste.

john16:02:03

This might be a biased forum for that question 😉

parens 15
rich 10
cvic16:02:11

If you just want a job at FAANG, C++ or Java are fine.

john16:02:04

Like, if I was the hiring manager, I'd prefer to see it in Clojure. But if somebody proved they could build a p2p system in Scala, I'd definitely hire them for some simple ol' Clojure. p2p/dht is non-trivial in any lang though. A good implementation in any language should raise eyebrows.

seancorfield18:02:48

As a hiring manager, I'll just say that having a "pet" personal project on your resume/CV that is your only experience in a language would not be very persuasive, in a field of candidates that have production experience with that language. In general, relying on GitHub projects to boost your resume/CV can be counter-productive -- If a candidate links me to their GitHub projects, and I take a look and don't think it's good code, or it's not well-tested, or poorly documented, then it's going to be a big red flag against the candidate.

seancorfield18:02:40

(and remember, there are many valid reasons why a candidate does not have a GitHub repo full of their own code -- so hiring managers should not consider OSS contributions as a bar on which to judge candidates)

💯 5
eggsyntax18:02:35

On the flipside, if I see that a candidate has a substantial personal project up on github, and I go look and it's good code, it's a definite plus. It's not as good as production experience, sure -- but there's no way to have production experience for the first clojure job you apply to. Caveat: not a hiring manager, although I've been involved in plenty of hiring decisions.

bja21:02:48

You could always bring clojure to an existing job.

Brian22:02:21

always .. no

gklijs05:02:39

You can always try I suppose.

theeternalpulse10:02:44

yeah, though for example a clojure shop got acquired by our company and someone though it was going to elevate our company to be a clojure shop, but alas, our backend is mandated to be in scala.

gklijs11:02:43

I'm not good at selling stuff, I almost consider to take a course becoming better at it. Meanwhile I have some poc's I might try on new customers. For now Clojure is no option.