skysight-inc/HackerNews huggingface dataset:
I have Jekyll setup (not recommended, see below) to generate my sites in a Docker container. The builder container outputs my websites into a volume that's shared with nginx. I have shared assets for multiple websites and had to create a custom plugin to support this setup in Jekyll:

https://github.com/sumdog/jekyll-multisite

There are open issues and pull requests for the plugin. I started building a test suite so I could start doing tests against multiple Jekyll versions and make it more universal, but it currently fails tests even with the same Gemfile/lockfiles.

Currently I have to keep my site pegged to Jekyll 3.0.1 because of all the custom plugins I've written, and think Jekyll-multisite might be tied directly to my build. :( I've put little effort into it lately since Jekyll themes are suppose to address the multi-site capabilities. I just keep it building a a docker container so I can use the older version without trouble.

I have that nginx container running behind the official HAProxy container and have Certbot running in its official container as well. I have a guide on how to set this up including all the Dockerfiles on github that you can use and modify:

http://penguindreams.org/blog/bee2-automating-haproxy-and-le...

As you can see, my blog isn't on the new setup yet (no https/letsencrypt). I'm working on that though, and hope to have it all migrated over this week.

I would NOT recommend Jekyll if I was starting again. I had to do a lot of hacking and custom ruby coding to get really basic things I wanted working. Under the shell of Jekyll is a huge mess. It likes to iterate over things .. a lot .. all the time, for everything. Lots of the path resolution stuff is broken and lots of Jekyll is built around github pages, making some things impossible without violating the security model.
It's that mindset that leads many semi-rich people to bankruptcy. Most NFL and NBA athletes go bust after their athletic career.

You can only spend about 4% a year of what you've got.
Latest Organic Fertilizer for Potatoes – Feed Your Plant Healthy
git subtree push --prefix build origin gh-pages

is a nice simple way to push your build directory to the gh-pages branch.
An open question is still who should enable the mitigation. The risk-cost doesn't seem to fit too many scenarios.

Meltdown requires running native, intrusted code, and that doesn't apply to too many servers. While it may be possible to chain this onto another exploit, once an attacker has gained remote code execution, you have much bigger problems.

While meltdown is interesting, i wouldn't enable kpti on my database servers buried behind other network infrastructure.
"It's bullshit that doesn't strike at the heart of the problem." - so what is the heart of the problem and what would strike at the heart of it? I don't see any convincing answers in the rest of your comment. You rile about Highland Parks - but what about it is that really the root of the problem? And what you propose to do about it?

There are many problems with UBI - one is the cost, another one is that it is only for citizens - but at least it would give everyone a safety net enabling them to think less hand to mouth and maybe take some risks, maybe make some longer term plans. If it worked it would be an improvement.
Assemble the whole face from component parts while you're at it.
"...process is the scar tissue of past failures"

That's an extremely important point to keep in mind.
Bigger risk wrt what exactly? Time? Working 60-80 hour weeks on entrepreneurial pursuits may boost your chances, but isn't required, except on a rare, brief inflection point occasions, IMO.

As for probabilities, spending 10 hours per week, thinking, and iterating on side projects, over the course of 10-15 years can bring a sustainable $10-15k monthly pre-tax income if done well. (I define well to be build stuff people want, focus on your customer, etc) If one's time horizon is smaller or income needs are larger, then there are other leverage points that can be used.
We use https://github.com/nozzle/react-static with Netlify. If you're a react user, this will feel just like Create React App, where other react static site generators are much more opinionated.
Thanks, I understand now. What I didn't realize is that KPTI is only related to Meltdown mitigation. Thanks.
While I agree with the other two, I remember when Golang came out and no one except the author of the other Go language had ever heard of it.
Dunno , if you have a self supporting business, why ditch it and start again? Is it that hard to teach this pony a new trick? Or it is you who has no idea or abilities to at least try?
I use Hugo (https://gohugo.io) on my local machine to create the website and upload the resulting static site to the server via rsync. The website templates and CSS sheets are all custom, so I get total control over the result.
How I discovered personalized, meaningful music for my every moment easily
Nice. I'd be interested in opening a PR for the 'Social Buttons ( HN, Twitter )' in your todo-- Do you still maintain?
The Ultimate Guide to Handling Objections and the Mentality
Ooh, good point. Import/export kind of does the same thing, but much worse I guess.
> Meltdown requires running native, intrusted code, and that doesn't apply to too many servers. While it may be possible to chain this onto another exploit, once an attacker has gained remote code execution, you have much bigger problems.

https://react-etc.net/entry/exploiting-speculative-execution...
How do you allow machine to machine payments in a trustless manner without some sort of value transfer protocol? How do you make these transactions with periodic internet connection? Are you saying IoT devices will not need to pay each other?
Register domain called X.com

Set up a DNS server that, for a domain of 10-0-0-1.$rand.X.com returns 10.0.0.1

Generate DNS challenges for your domain, issue lets encrypt certificates for said domain.

Viola, private, local, publicly-trusted, SSL-encrypted.

Have http://10.0.0.1/ redirect to https://10-0-0-1.$rand.x.com/

The biggest issue with this is getting LetsEncrypt to issue you enough certificates.

PS: this idea is somewhat borrowed from Plex.
It is ambiguous without external context; and is used to demarcate the last item in the list (at least that's what I was taught in school in the UK).

For example:

To joe blogs, the pope, my cat and ferrari.

So the Pope is called Joe and is a cat?

Let's think for a moment. How would I write that if Pope Joe was my Cat?

To joe blogs (the pope and my cat) and ferrari.

And for your example, if I only had the comma to punctuate then this is the only way I could write it unambiguously:

To my mother Ayn Rand, and my daughter.

I think that this whole thread is an excellent argument against any attempts to encode any sort of rule set in a language wholly incapable of encoding it unambiguously.
Err, I worked in a place that was using Spark-SQL (which is an Apache Impala competitor) and was doing deep learning (if not RL).
Ohhh I see, cool
I don't doubt that what you say is correct, but I think the author's point is that even with those optimizations, the sheer amount of data from [Every Alexa in the world] * [Every second of every day] is too much for any remote service to process. The wake word needs to be handled locally so that the remote service is only involved when needed. The amount of data for a single recording can be quite small, but multiplied by a large population it still adds up in a hurry.
I use Jekyll for most of my blogs. For my company's, we needed multiple authors including non-technical people, so we couldn't use git for that. I recently discovered Ghost which I highly recommend:

* https://ghost.org/

* Kickstarted in 2013

* Markdown-based

* Open source, self-hostable

* Hosted solution (https://ghost.org/pricing/) with support for your own domain name

* Beautiful themes out of the box with custom css/js on an article, site-wide or theme level

* Third party static site generation tools (https://github.com/axitkhurana/buster/, https://github.com/lexoyo/static-ghost)

Example blog (default theme): https://blog.ghost.org/
Ghost seems rather simple and configurable: https://ghost.org
I suggest a key component of being able to "critique it creatively" is understanding the paper in the context of other work in the immediate sub-discipline, and the wider discipline.

I suspect there are insufficient focused waking hours in a three week period for any old university graduate to achieve that.

If I branch out into a nearby sub-discipline I end up spending a lot of time reading a lot of papers just to get sufficient context to make sense of a single paper, and that is starting from a base of knowledge of the broader discipline accumulated by someone several years post-PhD.

Even for practicing scientists, non-superficial critique of anything outside of ones immediate area of expertise takes work.

To work efficiently in your own sub-discipline, you have to be at the point where you can see references to Smith & Jones (1992) and implicitly know what that paper is about, and why it is referenced. That takes experience (you have to have read a lot of papers so you are already familiar with a reasonable portion of the references in a given paper) and you have to be practicing, (or at least I have to), otherwise you start to forget.
IOTA has no utility today. Neither does any crypto. Neither does the Boring Company. Yet they all have value.

It's foolish to think IOTA is worth nothing even though it is not production ready, because when it is, it will be worth much more than it is today.
WHY AFRICAN-AMERICANS AND AFRICANS HIT HARD BY HIV-AIDS AT THE SAME TIME
It’s “impatient” to respond to a structural problem decades in the making and now reaching crisis by rejecting all attempts to make structural changes that might chip away at the problem in the upcoming years, and instead demand a limited fix that doesn’t treat any of the underlying causes and indeed exacerbates the crisis for the vast majority of people in the unfortunate situation while making one little corner unsustainably better for a small handful of people effectively chosen at random.
You realize he's talking about his servers, and the article is talking about Javascript running in the browser, right? The only things talking to his database server is his own server code via SQL queries; if there's any browsers and third-party Javascript running on that database server he's had a real security meltdown, of the kind that makes Meltdown irrelevant.
You mention trying Jekyll, etc, but not what doesn't work about them for you.

Jekyll really does give you full control. It also powers some pretty large websites. Breitbart.com and Forthepeople.com (shameless plug) spring to mind.
Hugo plus Cloud Foundry (Pivotal Web Services)
Kubernetes clusters on AWS spot instance
I would still call it Scheme, just not R*RS Scheme.
Feel free to clone mine http://giuseppegurgone.com/the-blog-about-nothing (instructions are in the blog post)
It tells me that female Muslims are about as well educated as male Muslims in Germany. From what I hear from teachers, they do better in school than their male peers.

I don't disagree that there are some extremist Muslims in Germany, but I don't think that there are enough extremists to explain the large disparity in fertility between Muslims and non-Muslims.
Just Because You Read It, Doesn’t Mean You Know It
Jekyll for my podcast's web site (https://allthingsgit.com/). I became a fan of Jekyll when I worked at GitHub, but I don't use GitHub Pages, I needed to scale it larger. (edit: in particular, I needed something that can host audio and video.) So my workflow is GitHub for hosting, and Visual Studio Team Services for CI builds. It monitors the GitHub repository and on commits to master, it runs Jekyll in a docker container. It then deploys to Azure, where I host the static web site. (I use Azure CDN for hosting the audio episodes.)

I would use VSTS for the whole pipeline, including the Git repository hosting, but I wanted to have a public repository, in case listeners wanted to submit pull requests. So far that hasn't happened, so I'm missing out on some of the VSTS features, but maybe it still will.

I also have a weekly newsletter (https://developertoolsweekly.com/) that uses a static site generator that I build myself. It's very Jekyll-inspired and uses Liquid templates, but instead of generally processing markdown, it takes a simple list of links and descriptions and emits a website as well as the HTML and plain text for the emails.

This workflow is similar, the generator is run in a Docker container, but this workflow is entirely VSTS and Azure.
Statistically he is correct. The "good" part it is common to have a miscarriage and then multiple healthy children. Unfortunately people do not talk enough about miscarriage and many hide them, creating impression that it is not a common thing.

I am sorry it happened to you.
This is brilliant information. Thanks for sharing it.
> In my experience in the Bay area with people who suddenly have more wealth than their friends and family ever did, there are two ways that people seem to split. Either they start splendiforus spending because they are "rich" or the start calculating what sort of 'burn rate' they can support drawing down at a rate of anywhere between 2% and 10% of their net worth.

Nobody tries to keep their costs below their income? If I was suddenly wealthy, I'd try hard to make sure lifestyle spending was covered by growth in my wealth, not by drawing it down.
It's called basic supply and demand.
Where’s the data coming from? I only know of one place to get box office data and it’s not open and they don’t sell it.
I'm also using Netlify (with Hugo). Their service is simple to use, and send to work quite well.
Yes? I'm just addressing his assertion that "Meltdown requires running native, intrusted code".
Meanwhile, the game is pretty much unplayable [1] on Mac OS while it was heralded as the first game to support Metal (even featured in Apple's keynote).

[1] Getting ~16 FPS on medium settings, with the high-end late 2016 MBP 15".
Ask HN: How would you relearn programming?
If you were to start again from scratch after losing all your programming knowledge, what would your plan look like?
I found a recent review of cases of people resuscitated from combined hypothermia and cardiac arrest: https://www.sciencedirect.com/science/article/pii/S030095721...

E.g. people found drowned in icy water with no pulse. "Six of nine survivors (66.7%) had minor neurological sequelae with Glasgow outcome scale (GOS) 5 (low disability)" (the rest worse). It's not clear to me from the table what the longest time with no breathing or pulse was among those six best-off survivors. But here's a popular account of another case: http://www.iflscience.com/health-and-medicine/child-survived...

Those were the top two google hits that came up. It's not my field, but it doesn't seem plausible to me that much of our identity is encoded in evanescent patterns of electrical activity or such. (As opposed to your short term working memory.) If you can nail down the molecules, the information is bound to be there in their arrangement.
Nope.

And directly conflicting definitions are not "nuance". You are missing a qualifier in order to make the point you think you're making (ie "the design of X is rooted in..."). You've also wilfully read past both examples in order to stretch this point.

Inspiration can not be understood as "rooted in". That is not how words or sentences work. The millenium falcon is not rooted in Hamburgers. "Imagine" is not rooted in Yoko Ono.
I wrote one for node: https://github.com/kentor/tiny-ssg

No "configuration". All code. You have to assemble the libraries from npm to make anything useful out of it though. Good luck.
Sure, which is why I mentioned the exception. The whole point of the example is to show there are cases where the Oxford comma alone doesn’t prevent ambiguity in all cases. I’m not arguing that the Oxford comma is silly. I’m just explaining how the example can be ambiguous. Language is messy and wonderful and frustrating and fun!
Jekyll was slow and hard to customize. A tiny script can convert a template + a directory of markdown files to a blog pretty easily.

Less code and configuration makes it easy to add custom features; I stuck incremental rebuilds and hot reloading into my blog while keeping it below 70 LOC:

https://github.com/1wheel/roadtolarissa/blob/master/index.js
Ask HN: What should I think about when interviewing my first junior developer?
Hi HN,
I have a small consultancy together with a co-owner. Things are going well and we need to employ a junior developer.

The process has started and I have a few candidates lined up. I have never interviewed as a company owner before. What should I think about during the interview? Dos and don'ts? What traits are desirable?
My point is that "Have you tried seeking out people you have things in common with?" is not always the helpful advice it may appear.
FULLY COMPLIED POSTAL/ZIP CODES FOR ALL STATES IN NIGERIA
I wouldn't recommend trying to fit a square peg into a round hole either.
$170M worth of Nano stolen from Bitgrail
Tons of precedent. In fact, Google paid Yahoo stock worth about the same amount to settle the Overture suit.
It doesn't matter if you "claim" it, but it's still confusing and harder to search for.
I generate html from templates which are html interspersed with js. JS is used to generate the dynamic parts. A simple js program prepopulates some data structures and hands it over to the template.
Once html files are generated I put them up on S3.
I write the posts in HTML because I've generally had bad luck with getting markdown to get things to look exactly as i want them.
It's pretty annoying. Most of the time I want to build a stable version not HEAD which could break in many ways. Using HEAD as a dep is pretty much insane. Stop publishing for several months and the code would most likely fail to build.
I think they do but not in the ordinary way.

The only way to give people the signal "I have a five-thousand dollar bag" is to go buy a five-thousand dollar bag. The value is not in the bag but in the message of owning (and being able to own) one, addressed to a certain audience that is very sensitive to these signals and that also matters in your life. I'm sure Gucci bags have opened doors that other bags with a fraction of the price haven't so there's utility value, too. It just fits with goals and with social behaviour that isn't very common in regular people, not to mention engineers.
It seems we have have got a bit off track and my quite precise claims have got lost. My claims are that

1. It is incorrect to claim that "Laziness is very hard to get right in practice. ... It's the reason why ... Standard Chartered, uses their own Haskell compiler that's strict by default."

2. Rather, the reason Mu is strict is that it was designed to target an existing strict runtime (I offer this claim without proof but I was told this directly by one of the authors of Mu).

3. It is incorrect to claim that Standard Chartered "think strict haskell is a lot easier to deal with"

4. Rather, Lennart Augustsson holds that each has their upsides and downsides. He says "I don't think strict or lazy matters that much in practice; they both work fine" and "I think laziness is a much nicer way of programming except for these pesky resources."
These kind of volunteer positions are exactly how you learn before you have a real job. Worked great for me. And then had experience to actually get me into a real job.
We've built a whole UX toolkit (shameless plug: https://uxls.org) with Hugo and Bootstrap on GitLab. It was absolutely fantastic to work with this setup. Here's the source: https://gitlab.com/uxls/build
I tried Jekyll and hated it. I didn’t find a static site generator I liked until I found Ivy.

http://mulholland.xyz/docs/ivy/

I use it for all my sites now.
There is no Meltdown JavaScript exploit that i know of. This page lumps them together.

To exploit meltdown you need to peek at specific places of memory (and flush the probe array from cache which might not be possible in JS easily).
I know of a couple of places that have box office data (for different regions) and they do indeed sell it.

ComScore/Rentrak is the first place that comes to mind that has almost complete box office info, but there are others.
We use https://processwire.com for our blog and future more content sections. It's kind of a static generator which creates JSON-Files with meta-information and the rendered HTML-maincontent. The static processing is made with ProCache module and a python script which loads an sitemap and requests all sites each 1-2 hours.

we choosed this setting because we wanted the content-heavy parts in an easy to handle CMS (from a editor perspective). We wanted to integrate the content in our main webshop and not with a subdomain and between our main header and footer coming from our main webshop system (sap hybris).

show hn: https://www.blue-tomato.com/blue-world/
Questions about turtles on their backs in the desert - required shortly.
What the Headlines about Tesla, Snap, and Twitter “Earnings” Should Have Said
One or two miscarriages is fairly typical. Three is about 1% of couples. We've had six miscarriages altogether along with the stillbirth, which is not common. Six puts you in the 1% of the 1%, which is the 0.01% and the stillbirth puts you in the 0.2% of that which is 0.002%.

Also, no matter how you slice or dice it, my friend's five full-term stillbirths are not common, and his perception that it's not common is not due to people not talking about it. Statistically, his experience is one in a million, and there is no slicing or dicing it. Saying it's common dismisses the very real condition that's causing their stillbirths.

Moreover, we've been to three specialists, and we've explained the circumstances of our stillbirth (baby's heart stopped overnight). All three have told us this is quite rare, and the most common presentation is slow fetal demise preceded by obvious growth delay. Ultimately, not all miscarriage is created equal, and the lack of distinction between different types is probably one of the things holding back research in this area. This isn't just my thinking several research papers have been published recently which make the exact same point.

I'm not denying the importance of not waiting til you're 40 to try. However, his comment that the children of young parents do not die is not true.
TYPES OF PLASTIC LENS: THE BEST GUIDE
I live in the US and have had snail mail opened without my permission and forwarded to me at the post office before. Once they put a sticker on it, once they didn't even bother. So, no, your snail mail isn't private at all. Government is free to open it and examine it any time they want. Legally the inspector is only supposed to open discount classes of mail, which is about half of them, to make sure you aren't lying to ship something cheaper, but in practice they are free to open anything and do.
For building the site I use Jekyll with a free theme I found online + some minor CSS modifications. I wanted to have js/css bundling/minification and html minification, but after spending an entire day trying to get webpack to work I gave up (what a joke). Instead I use a Rakefile that runs `jekyll build`, then does some bundling/minification - it works great.

For hosting I use cloudfront -> lambda -> s3. There is a lambda for incoming requests that handles some routing, and a lambda for responses from s3 that applies various security headers (HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Expect-CT, X-XSS-Protection).

I also have certbot (an ACME/LetsEncrypt client) running in a lambda once a day - if my TLS certificate has < 30 days remaining it will provision a new one and import it to be served by Cloudfront automatically.

The whole thing is serverless, can handle arbitrary amounts of traffic & is very fast, and no maintenance at all. It costs me about $1.50 per month.
I thought Ghost was dynamic. Does it have a static mode?