Live data from Hacker News

Running a Bakery on Emacs and PostgreSQL

bofh.org.uk

121–130 of 194 posts

Re: Running a Bakery on Emacs and PostgreSQL

#121
post #79

I'm trying to help my girlfriend manage the inventory for her cactus business. She raises cacti from seed, cuttings, but mostly from wholesale suppliers. She has a square account and store. I’m trying to set up inventory tracking for her. There are couple of things that make her business different than most inventory holding businesses. 1. Generally her inventory increases in value over time because it grows. Over ti…

One or more Jupyter notebooks?

Re: Running a Bakery on Emacs and PostgreSQL

#122

Earlier quoted context omitted.

Can't remember where I read the story, Steve Yegge perhaps. But they were talking about how where they worked secretaries actually used Emacs apps developed by the IT department and, over time, the secretaries started to extend the apps with Elisp.

Steve Yegge told this story: > Mailman was the Customer Service customer-email processing application for ... four, five years? A long time, anyway. It was written in Emacs. Everyone loved it. > People still love it. To this very day, I still have to listen to long stories from our non-technical folks about how much they miss Mailman. I'm not shitting you. Last Christmas I was at an Amazon party, some party I have no…

Ever since reading that essay years ago I’ve been perennially curious about Mailman. Would be really cool to see a screencast or even just some screenshots of what the UX was like.

Re: Running a Bakery on Emacs and PostgreSQL

#123

Earlier quoted context omitted.

Your loss. (Also, Org Mode beats the crap out of Anaconda/Jupyter notebooks. You can still code Python, but the interface is actually ergonomic.)

It. Doesn’t. Matter. Use the too, you’re comfortable in and you’ll be way more productive than dropping everything to learn something new. Do that when the limitations of your current tool start to grate on you.

Well, parent's arguments were kind of dumb. "OMG keyboard and lisp" is not the same as saying that one can achieve the same thing in a tool one's more comfortable with.

> Use the too, you’re comfortable in and you’ll be way more productive than dropping everything to learn something new.

That's not true, and this kind of thinking can be dangerous to your productivity - especially if the tool you're comfortable in is one of the new breeds of popular applications or SaaS. Each tool has a productivity ceiling. Software like Emacs or Vim has that ceiling somewhere in the stratosphere; a typical web-based tool has the ceiling ridiculously low, barely letting you stand up. On that spectrum, dropping everything and learning a tool that gives you more space to grow does pay off very quickly.

Re: Running a Bakery on Emacs and PostgreSQL

#124
Is there a name for small(ish), self-contained programming environments that offer optional but well-coupled guis/tuis? I realize this is a gray area, because someone will point out that Tk and SQLite can be slapped on basically anything; but I'm thinking of systems more like Hypercard, Tiddlywiki, Jupyter, Org-mode, even Racket or Picolisp.

Edit: I should clarify that when I say "small(ish)," I'm referring to the number of discretely moving pieces and dependencies, not to, e.g., the size of a binary, or how many batteries are included, etc.

Re: Running a Bakery on Emacs and PostgreSQL

#125

I'm going to be the unfortunate hater, but it sounds like he should spend more time on actually learning how to be a baker and less time writing code in this particular case. This is what I'd imagine most of the people on here would fall into the trap of when the monthly 'I want to quit and work with my hands' post comes up. It's the cliche, I want to disrupt the industry before I even learn it. My girlfriend works a…

You have a point. If I were doing higher volumes at retail, the thought process would be much simpler. Make up a 60% starter on 8kg of flour in the evening. In the morning, empty a 16kg sack of flour into the mixer, chuck in 500g of salt and 12kg of water at an appropriate temperature to finish at 21C. Mix on first speed for to a shaggy mess (about five minutes), then about 8 minutes on second speed to moderate gluten development. Bulk ferment in a cool part of the bakehouse for 3 hours, with 3 folds 40 minutes apart, scale off large and small loaves, shape, prove until slightly underproved (4.5–6 hours) then retard overnight. Back in the bakery at 4 the next morning and, bake everything off and get it to market by 8am.

But today, my customers want 9 large multigrain loaves, 4 small ones, 3 really small soup bowl loaves, a dozen large white sours, 5 small and a couple of dozen bun loaves. On Friday they will want substantially different quantities. If I want to keep selling 95–100% of everything I bake, then I need accurate quantities, and I’d rather offload that essentially trivial calculation on a tool that gets it right every time. Five minutes after I arrive in the bakehouse, I have an accurate production sheet with the right quantities on it and I can concentrate on the far more important task of actually making the bread. I’ve spent maybe a couple of days, over the last year and a bit implementing the production planning software. Time well spent, I reckon.

Re: Running a Bakery on Emacs and PostgreSQL

#126
post #116
post #107

Earlier quoted context omitted.

May be you got it backwards: people who can't deal with numbers have to stick to the same routine. They can't afford the flexibility, the optimization.

That's what I was thinking too. Perhaps this guy has greater aspirations for his bakery and laying out the foundation like this from day 1 will enable him to grow without many of the pains you might otherwise experience when expanding your business.

Nah. I just have a tiny capacity and a very variable order book. If I baked the same thing every day, the wastage would kill me.

Re: Running a Bakery on Emacs and PostgreSQL

#127
post #10

This makes me wonder what someone with less computer experience would do, ie if you're not a former computer professional. Sure, open source makes everything rather accessible from a monetary point of view, but you still have to learn things. I almost feel like in the past there were more attempts at making this accessible to the end user, HyperCard, dbase etc, even just BASIC on your 8-bit machine. Nowadays? Excel/G…

There's a decent size (albeit a little bit - but only a little bit - specialist) wholesaler in sydney. The boss is a tech enthusiastic, and the whole thing is somewhat glued together with various bits of perl and other stuff.

Re: Running a Bakery on Emacs and PostgreSQL

#128
post #63

Earlier quoted context omitted.

This one? https://i.imgur.com/E4EkEMf.png

The very one. It's on the northwest side of the city. This is funny to longtime Houstonian nerds, because that's the area where Compaq was, and where Digital was, and which is now HP I think. (?)

Thanks for sharing! Unfortunately Emacs came into my life after I grew up and left Houston, but if I ever find myself up 249 while on a visit I'll be sure to stop in.

Re: Running a Bakery on Emacs and PostgreSQL

#129
post #85

Earlier quoted context omitted.

Don't knock Microsoft Access for this sort of thing.

Good point -- Access is a great middle ground between kludging something together in a spreadsheet and writing an entire app from scratch.

I'm sure this exists, but it's probably about time we had a GUI you can put in front of a Postgres/MySQL server in a similar way to Access forms, as a kind of hybrid between niche app and off the shelf.

Re: Running a Bakery on Emacs and PostgreSQL

#130

Is there anyone else who has written software for bakeries / bread makers?

Former bread baker turned programmer here, I wrote a crude side project app a while ago called geekbread http://geekbread.com/. It just does basic bread formulas.

There is definitely a lack of good baking software in the industry. all the spreadsheets I saw when I worked were overly complicated and error-prone. Maybe one day I can expand on the app and work with some bakers on it :)

Post reply on HN