This repository was archived by the owner on Jan 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhecklers-corner.html
291 lines (215 loc) · 14.2 KB
/
hecklers-corner.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<!-- seems to be needed -->
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
<title>Hecklers Corner – De Re mulle-sde</title>
<meta name="description" content="Why don’t you use direnv ?
">
<meta name="keywords" content="">
<!-- Twitter Cards -->
<meta name="twitter:title" content="Hecklers Corner">
<meta name="twitter:description" content="Why don’t you use direnv ? I rarely use the interactive subshell for executing virtual environments, but instead use mulle-sde run all the time. direnv augments the environment, it doesn’t remove environment variables, unless you explicity write environment files to do so. For lack of a better term, there is...">
<meta name="twitter:site" content="@mulle_nat">
<meta name="twitter:creator" content="@mulle_nat">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://www.mulle-kybernetik.com/de-re-mulle-sde/images/default-thumb.png">
<!-- Open Graph -->
<meta property="og:locale" content="en_US">
<meta property="og:type" content="article">
<meta property="og:title" content="Hecklers Corner">
<meta property="og:description" content="Why don’t you use direnv ? I rarely use the interactive subshell for executing virtual environments, but instead use mulle-sde run all the time. direnv augments the environment, it doesn’t remove environment variables, unless you explicity write environment files to do so. For lack of a better term, there is...">
<meta property="og:url" content="https://www.mulle-kybernetik.com/hecklers-corner.html">
<meta property="og:site_name" content="De Re mulle-sde">
<meta property="og:image" content="https://www.mulle-kybernetik.com/de-re-mulle-sde/images/default-thumb.png">
<meta property="og:logo" content="https://www.mulle-kybernetik.com/de-re-mulle-sde/images/logo.png">
<link href="/de-re-mulle-sde/atom.xml" type="application/atom+xml" rel="alternate" title="De Re mulle-sde Feed">
<link href="/de-re-mulle-sde/index.rdf" type="application/rss+xml" rel="alternate" title="De Re mulle-sde Feed">
<link rel="canonical" href="https://www.mulle-kybernetik.com/hecklers-corner.html">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- Code Color
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/monokai.css">
<!-- Site custom css -->
<link rel="stylesheet" href="css/custom.css">
<!-- local FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/junction.css">
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/svg" href="images/favicon.svg">
<!-- This tag allows for activation of ClearType in Mobile IE for smoothing fonts.-->
<meta http-equiv="cleartype" content="on">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- For all browsers -->
</head>
<body class="post">
<div class="container">
<div class="row">
<div id="post-first" class="four columns">
<div class="sideline">
<div class="bio">
<div class="bio-photo-container" style="display: inline-block">
<img src="images/dog-pic.jpg" class="bio-photo" alt="Nat! bio photo">
</div>
<div style="display: inline-block; padding-left: 8px">
<h4>Nat!</h4>
<p>Senior Mull</p>
</div>
<div class="author-social"><a href="//www.mulle-kybernetik.com" target="_blank" class="link"><img class="inline-img" src="images/homepage-svgrepo-com.svg"></a> <a href="//www.mulle-kybernetik.com" target="_blank" class="link">WWW</a></div>
<div class="author-social"><a href="mailto:[email protected]" target="_blank"><img class="inline-img" src="images/email-svgrepo-com.svg"></a> <a href="mailto:[email protected]" target="_blank" class="link">Email</a></div>
<div class="author-social"><a href="//twitter.com/mulle_nat" target="_blank"><img class="inline-img" src="images/twitter-svgrepo-com.svg"></a> <a href="//twitter.com/mulle_nat" target="_blank" class="link">Twitter</a></div>
<div class="author-social"><a href="//github.com/mulle-nat" target="_blank"><img class="inline-img" src="images/github-svgrepo-com.svg"></a> <a href="//github.com/mulle-nat" target="_blank" class="link">Github</a></div>
<div class="author-social"><a href="//twitch.tv/Mulle_kybernetiK_TV" target="_blank"><img class="inline-img" src="images/twitch-svgrepo-com.svg"></a> <a href="//twitch.tv/Mulle_kybernetiK_TV" target="_blank" class="link">Twitch</a></div>
</div> <!-- bio -->
<div class="title">
<div>
<h2>De Re mulle-sde <div style="font-size:10px; display: inline-block;">1.1.0</div> <a href="feed.xml"><img class="inline-img" src="/de-re-mulle-sde/images/feed-icon-28x28.png"></a></h2>
<h7></h7>
</div>
<h6>© 2022-2024 by Nat!, Mulle kybernetiK. All rights reserved.</h6>
<p>
</div> <!-- title -->
<div class="contents">
<h4>Contents</h4>
<ul>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/intro.html" title="Intro">Intro</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/existing-makefile.html" title="🔶 Manage a Makefile project 🆕">🔶 Manage a Makefile project 🆕</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/virtual-env.html" title="🌳 Virtual Environment">🌳 Virtual Environment</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/template.html" title="🕋 Template generator">🕋 Template generator</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/compositor.html" title="🌲 Project Compositor">🌲 Project Compositor</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/builder.html" title="🚬 Fetch and build">🚬 Fetch and build</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/makefile.html" title="💠 Makefile maintainer">💠 Makefile maintainer</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/test-coverage.html" title="☑︎ Test suite with Coverage 🆕">☑︎ Test suite with Coverage 🆕</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/definition.html" title="💄 Definition isolator">💄 Definition isolator</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/outro.html" title="Outro">Outro</a>
</article>
<article>
<li class="no-bullet"><a class="internal-link" href="/de-re-mulle-sde/hecklers-corner.html" title="Hecklers Corner">Hecklers Corner</a>
</article>
</ul>
<h5> Or read it like a <a href="book.html"><b>book</b></a>.</h6>
</div> <!-- contents -->
</div> <!-- sideline -->
</div>
<div id="post-second" class="eight columns">
<div class="title">
<div>
<h2>De Re mulle-sde <div style="font-size:10px; display: inline-block;">1.1.0</div> <a href="feed.xml"><img class="inline-img" src="/de-re-mulle-sde/images/feed-icon-28x28.png"></a></h2>
<h7></h7>
</div>
<h6>© 2022-2024 by Nat!, Mulle kybernetiK. All rights reserved.</h6>
<p>
</div> <!-- title -->
<p>
<div id="main" role="main">
<article>
<h1>Hecklers Corner</h1>
<div>
<h4 id="why-dont-you-use-direnv-">Why don’t you use <code class="language-plaintext highlighter-rouge">direnv</code> ?</h4>
<p>I rarely use the interactive subshell for executing virtual environments, but
instead use <code class="language-plaintext highlighter-rouge">mulle-sde run</code> all the time.
direnv augments the environment, it doesn’t remove environment variables,
unless you explicity write environment files to do so.
For lack of a better term, there is no API to add and remove environment
variables. There is no “tool” functionality.</p>
<h4 id="why-dont-you-use-docker-instead-">Why don’t you use <code class="language-plaintext highlighter-rouge">docker</code> instead ?</h4>
<p>Docker is too slow and cumbersome. It’s not that popular on freebsd and I
doubt it will work in mingw.</p>
<h4 id="why-dont-you-use-git-submodules-instead-">Why don’t you use <code class="language-plaintext highlighter-rouge">git submodules</code> instead ?</h4>
<p>One advantage of mulle-sde dependencies over git submodules is, that when you
are doing git, you are not doing anything else.
mulle-sde dependencies can be used with various source control management
systems (SCM). You can mix tar archives with git and svn repositories.</p>
<h4 id="why-dont-you-use-my-pet-sandbox-instead-of-mulle-env-">Why don’t you use <my pet sandbox> instead of mulle-env ?</h4>
<p>Sandboxing would not help with the environment setting. Sandboxing can be
an interesting idea on top of mulle-sde. And actually in the newest version
there is support for linux landlock sandboxing (also there is some support
for apparmor) See the <a href="//github.com/mulle-sde/mulle-sde/wiki">Wiki</a> for
more info.</p>
<h4 id="why-is-this-written-bash-and-not-in-my-pet-language-">Why is this written bash and not in <my pet language> ?</h4>
<p>Actually this used to be written in “sh”, the Bourne Shell.
I would expect the Bourne Shell to be unbeatable in terms of availabilty and
long term compatibility (think decades not years). Sadly “sh” must rely on
external commands, to get anything slightly sophisticated done. This already
impedes cross-platform portability. But the main reason is that
running external commands for string operations is <em>just too slow</em>.</p>
<p>So I returned to the “bash”.</p>
<h4 id="why-is-this-written-in-fairly-ancient-bash-">Why is this written in fairly ancient bash ?</h4>
<p>When this project started on macOS (then as mulle-bootstrap), the “bash” was
seriously out of date and didn’t even support arrays (this is still noticable
in the code today). “bash” on macOS a mere decade or so later is still out of
date and has been officially replaced by “zsh”. So now I need to support two
shells “bash” and “zsh”. Both are mostly compatible with each other, but not 100%.
I am loathe to use too many fancy “bash” features to keep “zsh” as a fallback
option or vice versa.</p>
<h4 id="mulle-template-is-just-a-glorified-sed-script">mulle-template is just a glorified sed script!</h4>
<p>That’s pretty much what it is!</p>
<h4 id="mulle-match-is-just-a-glorified-find-command">mulle-match is just a glorified find command!</h4>
<p>That’s really not quite what it is!</p>
</div>
</article>
</div>
<p>
<div class="left-right" id="pn-container">
<div class="left-half">
<span class="link">
Back to <a rel="prev" class="internal-link" href="/de-re-mulle-sde/outro.html">Outro</a>
</span>
</div>
<div class="right-half">
</div>
</div> <!-- left_right -->
</div> <!-- eight columns -->
</div> <!-- row -->
</div> <!-- container -->
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setCookieDomain", "*.www.mulle-kybernetik.com"]);
_paq.push(["setDomains", ["*.www.mulle-kybernetik.com"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//www.mulle-kybernetik.com/matomo/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//www.mulle-kybernetik.com/matomo/matomo.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
</body>
</html>