Live data from Hacker News

Knotty: A domain-specific language for knitting patterns

t0mpr1c3.github.io

11–20 of 57 posts

Re: Knotty: A domain-specific language for knitting patterns

#11
post #10

Some say the Jacquard machine was the first real computer using punched cards https://en.wikipedia.org/wiki/Jacquard_machine

Some would be wrong. While the use of punch cards was significant, I struggle to see jacquard looms doing computation in any meaningful sense.

Re: Knotty: A domain-specific language for knitting patterns

#12
post #6
post #4

Earlier quoted context omitted.

Programmable (punch cards I think) sliding knitting machines were a thing in the past (70s or 80s). They occasionally pop up for free on FB marketplace or little on ebay and such. Or perhaps you had to flick switches instead of punch cards?

Punch-configured textiles go all the way back to the 1700s! The 1804 Jacquard Loom, which used cards, was a big part of the Industrial Revolution and influenced Babbage's Difference Engine and Analytical Engine, both of which use punchcards. More background: https://en.m.wikipedia.org/wiki/Jacquard_machine

Worth noting that weaving and knitting are two different production processes.

Re: Knotty: A domain-specific language for knitting patterns

#13
post #10

Some say the Jacquard machine was the first real computer using punched cards https://en.wikipedia.org/wiki/Jacquard_machine

Like many an invention, he was standing on the shoulders of others

Basile Bouchon (1725) created one of the earliest automated looms using perforated paper tape to control the weaving pattern.

Jean-Baptiste Falcon (1728) improved on Bouchon's design by using chains of punched cards instead of continuous paper tape, making the system more durable and easier to handle.

Jacques Vaucanson (1745) further refined the concept with his own punch card loom design.

Jacquard's breakthrough came in 1804-1805 when he synthesized and perfected these earlier innovations into what became known as the Jacquard loom. His version was more reliable, easier to operate, and became widely adopted - which is why his name became so strongly associated with the technology.

Re: Knotty: A domain-specific language for knitting patterns

#14
post #11
post #10

Some say the Jacquard machine was the first real computer using punched cards https://en.wikipedia.org/wiki/Jacquard_machine

Some would be wrong. While the use of punch cards was significant, I struggle to see jacquard looms doing computation in any meaningful sense.

Although one could say it is Numerical Control, the precursor to Computerised Numerical Control

Re: Knotty: A domain-specific language for knitting patterns

#15
post #10

Some say the Jacquard machine was the first real computer using punched cards https://en.wikipedia.org/wiki/Jacquard_machine

Thanks, I learned something today. If Wikipedia is to be believed:

> He played an important role in the development of the earliest programmable loom (the "Jacquard loom"), which in turn played an important role in the development of other programmable machines, such as an early version of digital compiler used by IBM to develop the modern day computer.

[0] https://en.wikipedia.org/wiki/Joseph_Marie_Jacquard

Re: Knotty: A domain-specific language for knitting patterns

#17
post #12
post #6

Earlier quoted context omitted.

Punch-configured textiles go all the way back to the 1700s! The 1804 Jacquard Loom, which used cards, was a big part of the Industrial Revolution and influenced Babbage's Difference Engine and Analytical Engine, both of which use punchcards. More background: https://en.m.wikipedia.org/wiki/Jacquard_machine

Worth noting that weaving and knitting are two different production processes.

Yes and no. The both involve implementing a sequence of instructions to perform mechanical motions on fiber to form textiles. It might be moving frames to open the shed for weaving, or it might be opening hooks to chain for knitting. The fiber used and the properties of the produced textile may have different properties and the machinery may differ in detail but the processes are essentially identical.

Re: Knotty: A domain-specific language for knitting patterns

#18
post #11
post #10

Some say the Jacquard machine was the first real computer using punched cards https://en.wikipedia.org/wiki/Jacquard_machine

Some would be wrong. While the use of punch cards was significant, I struggle to see jacquard looms doing computation in any meaningful sense.

From a computer-science theoretic view, any any recursively enumerable transform is computing. It's pretty easy to see the translation between a Jaquard loom and an abstract Turing machine. Just because it smells of machine oil and lanolin instead of ozone and magic smoke doesn't mean an automated loom and a modern computer are not essentially the same device, mathematically speaking.

Re: Knotty: A domain-specific language for knitting patterns

#20
post #4

A quick googling says that lego knitting machines have been built. Now it's just to program them! https://www.youtube.com/watch?v=MV19wqtfyF0 Is it only a matter of time before you can get generative AI to create a pattern based on a prompt and then some service mails gift wraps and mails it to you/friend (along with video of the lego machine making it)? Just in time for the holiday season :D Added: there are lots of…

Programmable (punch cards I think) sliding knitting machines were a thing in the past (70s or 80s). They occasionally pop up for free on FB marketplace or little on ebay and such. Or perhaps you had to flick switches instead of punch cards?

My partners owns numerous brother knitting machines of that era. They are fascinating machines, I love them. Complicated mechanisms to move the needles in and out depending on the pattern set. My partner is the expert in them, not me, so my understanding of how they actually work is limited.

We converted a Brother KH750 (or 950 maybe?) to be able to knit from a digital image with an arduino and a project called All Yarns Are Beautiful [0].

I was going to say unfortunately the project looks dead, but looking at their news page, there is an update from this year after being dormant since 2019, which is exciting.

[0] https://www.ayab-knitting.com/

Post reply on HN