Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Waffle Generator

149 views
Skip to first unread message

Mike Sanders

unread,
Mar 23, 2017, 4:40:40 PM3/23/17
to
#!/bin/sh

<<DOC

Waffle Generator - Michael Sanders 2017

about...

. creates non-sense sentences

. great for replying to snarky posts in comp.lang.awk

. example limited to 3 blocks for brevity

. for a waffle generator with 600+ memes visit:

http://busybox.hypermart.net/waffle-generator.html

example output...

. Heterogeneous plug & play abstract middleware.

. Extensible hyperbolic guesstimate.

. Intuitive multi-dimensional nanotechnology.

DOC

awk -F'|' -v r=$RANDOM '

BEGIN{srand(r); n=rnum(1, 3)}
END{print x, y, z "."}
function rnum(b, t) {return int(b + rand() * (t - b + 1))}

$1 ~ "x"n {x = $rnum(2, NF)}
$1 ~ "y"n {y = $rnum(2, NF)}
$1 ~ "z"n {z = $rnum(2, NF)}

' < $0

exit

x1|Cost effective|Heterogeneous|Synergistic
y1|64-bit|plug & play|floating point engine
z1|abstract middleware|technology continuum|development methodology

x2|Integrated|Unique|Intuitive
y2|multi-dimensional|non-deterministic|object oriented
z2|concurrency criteria|nanotechnology|paradigm

x3|Extensible|Next generation|Robustly designed
y3|hyperbolic|pipe-lined|transaction based
z3|engineering breakthrough|implementation guidelines|guesstimate

# eof

--
later on,
Mike

http://busybox.hypermart.net

Marc de Bourget

unread,
Mar 23, 2017, 4:58:20 PM3/23/17
to
Hi Mike, funny tool. Thank you!

Mike Sanders

unread,
Mar 23, 2017, 5:06:13 PM3/23/17
to
Marc de Bourget <marcde...@gmail.com> wrote:

> Hi Mike, funny tool. Thank you!

=)

Janis Papanagnou

unread,
Mar 24, 2017, 5:05:47 AM3/24/17
to
On 23.03.2017 21:40, Mike Sanders wrote:
> #!/bin/sh
>
> <<DOC
>
> Waffle Generator - Michael Sanders 2017
>
> about...
>
> . creates non-sense sentences

What we see in the samples below are not [complete] sentences; it's
only attributed object names, not even a predicate.

Folks interested in random texts might be more satisfied with paper
generators that are available in various forms since many years[*].

[*] A prominent one created a "scientific" text that made it even
into a conference proceeding and got published! (I.e. the _created
random text_ was published.)

>
> . great for replying to snarky posts in comp.lang.awk

Hmm.. - so it's actually a Spam Generator. - And you support and even
suggest here replying with trolish behaviour? - Strange mindsets are
underway in the Internet...

Janis

>
> . example limited to 3 blocks for brevity
>
> . for a waffle generator with 600+ memes visit:
>
> http://busybox.hypermart.net/waffle-generator.html
>
> example output...
>
> . Heterogeneous plug & play abstract middleware.
>
> . Extensible hyperbolic guesstimate.
>
> . Intuitive multi-dimensional nanotechnology.
>
> DOC
>
> [...]


Mike Sanders

unread,
Mar 24, 2017, 7:31:55 AM3/24/17
to
Janis Papanagnou <janis_pa...@hotmail.com> wrote:

> What we see in the samples below are not [complete] sentences; it's
> only attributed object names, not even a predicate.

Well fork a version & contribute, making it more to your liking Janis.
In this way we all learn no?

>> . great for replying to snarky posts in comp.lang.awk
>
> Hmm.. - so it's actually a Spam Generator. - And you support and even
> suggest here replying with trolish behaviour?

Chuckle, I was being facetious (& I feel you know this). So much of
the time, some members here seem bent on tearing down rather than
building up, it makes unassuming communication harder than it otherwise
needs to be, thus waffling... And let's not forget what I wrote versus
what you've assumed...

'great for *replying to snarky posts* in comp.lang.awk'

> Strange mindsets are underway in the Internet...

Indeed: They've taken the real Janis captive. She's sorely missed too
because she would offer up engaging technical insights. Someone you
knew you could depend on to teach the fine & ancient arts of awk.
In her place now resides a harsh simulacrum with a sour & venomous bite
as she often mis-assumes ill-intent where there is none... Too wary of
the new J, instead I seek the old J, now there was a teacher to learn from.

And so another opportunity is lost to share code & talk about awk
among ourselves...

Janis Papanagnou

unread,
Mar 24, 2017, 8:39:50 AM3/24/17
to
On 24.03.2017 12:31, Mike Sanders wrote:
> Janis Papanagnou <janis_pa...@hotmail.com> wrote:
>
>> What we see in the samples below are not [complete] sentences; it's
>> only attributed object names, not even a predicate.
>
> Well fork a version & contribute, making it more to your liking Janis.

Sadly the recent contributions I saw from you aren't worth to build upon.
(Your, or other's opinion may vary here.) Actually, as I mentioned already
in recent posts, I consider your last contributions ("password" and spam
generator) rather more dangerous than helpful. Beyond that those programs
use standard programming paradigms, i.e. they also give no new insights
WRT awk programming, they show no problems or solutions to problems. (It
seems their sole purpose is to say: "Hey, look! I can program cewl awk.".)
(If you'd really be concerned about my "liking" (and I'm sure you aren't
given that you don't accept the given criticism) you'd abstain from throwing
useless and dangerous tools into the public without any caveat (or smiley)
attached.)

> In this way we all learn no?
>
>>> . great for replying to snarky posts in comp.lang.awk
>>
>> Hmm.. - so it's actually a Spam Generator. - And you support and even
>> suggest here replying with trolish behaviour?
>
> Chuckle, I was being facetious (& I feel you know this).

(No; and how should we know given your posting history that suggests a
different interpretation?)

> So much of
> the time, some members here seem bent on tearing down rather than
> building up, it makes unassuming communication harder than it otherwise
> needs to be, thus waffling... And let's not forget what I wrote versus
> what you've assumed...
>
> 'great for *replying to snarky posts* in comp.lang.awk'
>
>> Strange mindsets are underway in the Internet...
>
> [...]

(Thanks for confirming your mindset, but it was obvious, thus unnecessary).

>
> And so another opportunity is lost to share code & talk about awk
> among ourselves...

The standards here obviously dropped significantly. Posted tools are on
"toy level" (or worse) and a few claqueurs even celebrate them. It seems
that some folks here think it's good to throw anything available into the
pool, if it's only related to awk code. Beyond boredom I don't care much,
but I'm astonished how sensitive you react on criticism and necessary hints.

And no, no opportunity is lost. Folks can still discuss your code if they
think it's worth to do so.[*]

Janis

[*] BTW; if code shall be discussed the (few lines of) code should be posted
not linked. With a license "Reprint freely so long as nothing is modified."
that you used on your webpage it's not even possible to quote your awk code
here.

Marc de Bourget

unread,
Mar 24, 2017, 9:30:43 AM3/24/17
to
If you think you can contribute better code, please then contribute it.
Ed and Mike contribute regularly very useful code, whereas you restrict
yourself to contribute theoretical thoughts (which isn't bad per se,
but then you should be more grateful to people contributing real code).

Which new code aspects do you expect us to give to this really good but
old fashioned programming language? We can't invent amazing new things.

BTW are you male or female (if you are Greek, Jannis is a male name, isn't it)?

Mike Sanders

unread,
Mar 24, 2017, 10:19:18 AM3/24/17
to
Ouch.. Well I'm sorry to read once again your harsh words Janis.
So I'll kindly ask that you leave me be to learn in solitude &
offer up my findings to the group as I see fit. You know?

From time to time folks reading here contact me & we discuss awk
privately without the cult of personailty mucking things up.
So far, its working out pretty good...

Kenny McCormack

unread,
Mar 25, 2017, 1:46:49 PM3/25/17
to
In article <ob39t5$tdb$1...@news.albasani.net>,
Mike Sanders <mi...@porkchop.bsd> wrote:
>Ouch.. Well I'm sorry to read once again your harsh words Janis.
>So I'll kindly ask that you leave me be to learn in solitude &
>offer up my findings to the group as I see fit. You know?

I get it. Lately, this newsgroup has turned into The Good, The Bad, and
The Ugly (1966). Me and Kaz are The Good. Ed is clearly The Bad, and,
lately, Janis has turned Ugly.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/Seneca

charlemagn...@gmail.com

unread,
Mar 25, 2017, 2:09:42 PM3/25/17
to
Thanks, Mike! A "spam generator" lol .. like it's a secret code unleashed onto the world. Now that's funny. Some people can generate spam without even trying.

Mike Sanders

unread,
Mar 25, 2017, 8:36:55 PM3/25/17
to
Kenny McCormack <gaz...@shell.xmission.com> wrote:

> I get it. Lately, this newsgroup has turned into The Good, The Bad, and
> The Ugly (1966). Me and Kaz are The Good. Ed is clearly The Bad, and,
> lately, Janis has turned Ugly.

Ahh h*ll, someone's always mad at me Kenny. Such is life on usenet...

Glad you understood the 'zeitgeist'.

Mike Sanders

unread,
Mar 25, 2017, 8:41:51 PM3/25/17
to
And thank you. Its a silly, non-sense bit of code.

Have fun, life is all to short.
0 new messages