Running a bakery on Emacs and PostgreSQL

Posted 云T栈

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Running a bakery on Emacs and PostgreSQL相关的知识,希望对你有一定的参考价值。

Just over a year ago now, I finally opened the bakery I’d been dreaming of for years. It’s been a big change in my life, from spending all my time sat in front of a computer, to spending most of it making actual stuff. And stuff that makes people happy, at that. It’s been a huge change, but I can’t think of a single job change that’s ever made me as happy as this one.

就在一年多以前,我终于打开了我多年来一直梦寐以求的面包店。这是我生命中的一个重大变化,从把所有时间都花在电脑前,到花费大部分时间制作实际的东西。那些令人快乐的东西。这是一个巨大的变化,但我想不出一个让我像这一样快乐的单一工作变化。

One of the big changes that came with going pro was that suddenly I was having to work out how much stuff I needed to mix to fill the orders I needed. On the face of it, this is really simple, just work out how much dough you need, then work out what quantities to mix to make that much dough. Easy. You can do it with a pencil and paper. Or, in traditional bakers’ fashion, by scrawling with your finger on a floured work bench.

专业人员带来的一个重大变化是突然间我需要弄清楚我需要多少东西才能填补我需要的订单。从表面上看,这非常简单,只需计算出你需要多少面团,然后计算出混合的量以制作那么多的面团。简单。你可以用铅笔和纸做。或者,以传统的面包师的方式,用手指在一个撒满面粉的工作台上乱涂乱画。

I’d been on one of Bread Matters’ “Baking for a Living” courses and as part of the course materials had received a copy of a spreadsheet that could be used to go from a list of orders to a list of ingredients to mix alongside accurate costings and other useful bits and bobs. It was great and certainly opened my eyes to the possibilities for automation of this part of the job.

我参加过Bread Matters的“Baking for a Living”课程,作为课程材料的一部分,我收到了一份电子表格的副本,可以用来从一系列订单到一系列成分混合在一起准确的成本计算和其他有用的位和bobs。这很棒,当然让我看到了这部分工作自动化的可能性。

Spreadsheets aren’t my favourite computational model so maybe it was just my lack of experience with them, but adding a new recipe was like pulling teeth; lots of tedious copying, pasting and repetition of formulae. It just seemed wrong, especially as the underlying computations were so straightforward (ish). There had to be a better way.

电子表格不是我最喜欢的计算模型,所以也许只是我对它们缺乏经验,但添加一个新配方就像拔牙;很多繁琐的复制,粘贴和重复的公式。它似乎是错的,特别是因为底层计算是如此简单(ish)。必须有一个更好的方法。

The key insight is that a bakery formula is so cliched that it can be represented as data. Here’s the formula for seedy malt loaves:

关键的见解是面包店配方是如此陈词滥调,以至于它可以表示为数据。这是糯麦芽面包的配方:

以上是关于Running a bakery on Emacs and PostgreSQL的主要内容,如果未能解决你的问题,请参考以下文章

Errors running builder 'JavaScript Validator' on project

running a notebook server on centos

Running Spark Streaming Jobs on a Kerberos-Enabled Cluster

解决Perhaps you are running on a JRE rather than a JDK?问题

Can only call getServletHandlers on a running MetricsSystem解决方法

Can only call getServletHandlers on a running MetricsSystem解决方法