« first day (3238 days earlier)      last day (1710 days later) » 
04:00 - 20:0020:00 - 00:00

4:59 AM
Does anyone receive the TeX - LaTeX Stack Exchange Newsletter? Did you receive it last Tuesday?
 
5:56 AM
@CarLaTeX never heard of it
 
@HaraldHanche-Olsen It's a list of the most upvoted posts of the week, some unanswered, and so on
 
6:10 AM
@barbarabeeton Are the municipal authorities aware of this? I suppose they must be. Why not ask them?
 
6:56 AM
Are there any special approaches people using LuaTeX take when dealing with code across multiple Lua files?
 
@FaheemMitha Huh?
 
@JosephWright Let's suppose you have code in a.lua and b.lua, with perhaps some shared objects. And one wants to use both a and b in some sty file.
 
7:14 AM
@FaheemMitha Well normally you'd just have a shared library file foo.lua and require() it
 
@JosephWright Require both a and b?
So foo would just be a stub?
 
@FaheemMitha Well you said a.lua and b.lua have shared code, so I imagined they would both require("foo.lua"), which would contain those shared functions
 
@JosephWright Actually, my current code currently shares a single array object.
But I suppose one cannot make recommendations in abstraction.
 
@FaheemMitha That is tricky, yes
 
7:54 AM
@FaheemMitha you either need to arrange that the local definition is in scope where you need it, or declare it as a global, impossible to say in general.
 
 
1 hour later…
9:15 AM
In Douglas Adams' sci-fi series "The Hitchhiker's Guide to the Galaxy," a pair of programmers task the galaxy's largest supercomputer with answering the ultimate question of the meaning of life, the universe and everything. After 7.5 million years of processing, the computer reaches an answer: 42. Only then do the programmers realize that nobody knew the question the program was meant to answer. Now, in this week's most satisfying example of life reflecting art, a pair of mathematicians have used a global network of 500,000 computers to solve a centuries-old math puzzle that just happens to
Nothing exactly new, but the text is nice. :)
 
9:29 AM
$ a68g
Algol 68 Genie 2.8.4
Copyright 2016 Marcel van der Veer <algol68g@xs4all.nl>.

This is free software covered by the GNU General Public License.
There is ABSOLUTELY NO WARRANTY for Algol 68 Genie;
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

Please report bugs to Marcel van der Veer <algol68g@xs4all.nl>.

Usage: a68g [options | filename]
For help: a68g --apropos [keyword]
@DavidCarlisle ^^ do you remember this? :)
 
@PauloCereda I wonder what someone who doesn't know the movie makes out of it.
 
@PauloCereda I used algol 60 a bit but never used algol68
 
@UlrikeFischer indeed. :)
 
@UlrikeFischer if they don't know the movie they definitely won't be expecting the Spanish Inquisition.
 
@DavidCarlisle Ah indeed. Algol 68 was used in academic papers to express algorithms. :)
@DavidCarlisle ooh
 
9:34 AM
@PauloCereda I had friends in cs at the time who did a lot of algol68 as one of the professors at Manchester was I think one of the editors of the spec, I'll check:-)
 
@DavidCarlisle How nice! I am a huge fan of van Wijngaarden!
@DavidCarlisle cool!
@DavidCarlisle IIRC Wijngaarden published the grammar spec using W grammars.
Attribute grammars and whatnot.
 
9:49 AM
@PauloCereda in first year of pure maths they inflicted real analysis on us where it took the whole of the first term to be able to construct a model of the real numbers via Dedekind cuts (which thinned out the audience a bit) I think they used the first year algol68 course in the same way in cs, people who came thinking they could already program having to learn about 15 levels of dereferencing before they could work out what a variable meant:-)
 
Whom should I thank for `\NewDocumentCommand` 's "s" option?

Makes it really easy for simpleTeXons like me to write simple variants of commands.
 
@Brent.Longborough latex team so I am happy to take the credit (although I did nothing)
3
 
@DavidCarlisle ooh
 
@DavidCarlisle Thank you, thank you, on behalf of all SimpleTeXons
 
@DavidCarlisle I think @UlrikeFischer should be thanked.
 
9:55 AM
We ought to start a "David Carlisle Facts" list, like Chuck Norris or Bruce Schneier
 
@PauloCereda s/thanked/blamed/
 
@Brent.Longborough Yes, but it also opens the way to \DeclareDocumentCommand\gradient{ g o d() } (a clear misuse of the tool).
 
@egreg I definitely didn't add g
 
@egreg Should have been a capital G
 
@DavidCarlisle g o d is declared robust?
 
9:56 AM
@Brent.Longborough That's clearly pagan!
 
/ba dum tss
 
Reminds me of the origins of Teletypes using upper, rather than lower-case
David Carlisle Facts, #1: "DC can transform an arbitrary PDF into the original LaTeX source"
4
@AlanMunn Sorry, only 9th October.
 
 
1 hour later…
11:23 AM
So, a more specific Lua question. Say in a.lua, there is an array called Tables={}, for example. Then I need to access Tables from b.lua. If it's local I can't access it. But is there some way to not make it global, but still access it from b.lua?
 
@FaheemMitha you need to return something from b.lua.
 
@PauloCereda Return something? But it's a file, not a function.
 
@FaheemMitha Try it.
 
@PauloCereda A little more explanation would be appreciated.
 
@FaheemMitha Everything in Lua is a table
 
11:26 AM
[paulo@cambridge ~] $ cat b.lua
local foo = "bar"
return foo

[paulo@cambridge ~] $ cat a.lua
x = require('b')
print(x)

[paulo@cambridge ~] $ lua a.lua
bar
 
@FaheemMitha In b: local Tables = require("shared") then in shared local Tables = {} ... return Tables
 
@JosephWright this.
 
@PauloCereda Windows decided this morning that my lockscreen should be a picture of Serra do Mar State Park
 
@DavidCarlisle ooh :)
 
Actually, in Python a file is automatically a namespace. But it doesn't seem to be the same thing in Lua. E.g. in Python, import foo would means that everything from foo.py would be made available within the foo namespace.
 
@FaheemMitha I don't think it's fair to compare these two languages, it's like mixing apples with oranges. The import's from Python are basically what require does in Lua, and the return of require is a namespace.
But as @JosephWright said, there's nothing but tables in Lua.
 
@FaheemMitha There used to be modules, but that got dropped
 
@JosephWright in favour of tables. :)
 
@PauloCereda 2
 
@PauloCereda By default, if you require something, it's in the main/default namespace.
Otherwise I wouldn't be asking this question.
 
11:32 AM
@FaheemMitha There's no namespace in Lua.
There are tables.
If you do a = require('b'), b's logic is encapsulated inside a.
 
@PauloCereda Well, ok. My point is, everything in the file that is been required is available immediately. Well, global stuff.
 
@FaheemMitha Like @PauloCereda says,use a return value
@FaheemMitha Yes, that's rather the point :)
 
@JosephWright So that's the only option available?
 
@FaheemMitha Either that or you create a global table in the file, and populate it in a controlled way
 
@FaheemMitha what @JosephWright said. :)
 
11:34 AM
@JosephWright Which is similar to what I'm currently doing.
 
@FaheemMitha For example, from the LaTeX3 code:
local charcat_table = l3kernel.charcat_table or 1
local function charcat(charcode, catcode)
  setcatcode(charcat_table, charcode, catcode)
  sprint(charcat_table, utf8_char(charcode))
end
l3kernel.charcat = charcat
 
@JosephWright you naughty bloke :)
 
@JosephWright And l3kernel is a table?
 
@FaheemMitha everything in Lua is a table:-)
2
 
@FaheemMitha Yes: right at the start of the file we have l3kernel = l3kernel or {}
 
11:36 AM
local l3 = {}
local l3.help = require('l3build-help')
local l3.arguments = require('l3build-arguments')
local l3.text = require('l3build-text')
@JosephWright ^^ my turn. :)
 
@DavidCarlisle A certain repetitiveness is creeping into this discussion.
 
@DavidCarlisle ooh
 
@PauloCereda Also doable, though that depends on you not wanting globals, whereas for the L3 core stuff, we really do (as they are supposed to sort-of work like TeX macros)
 
@PauloCereda or a more useful example from a more useful package:
 
@JosephWright what have the globals ever donwe for us? :)
 
11:37 AM
chickenstring = {}
chickenstring[1] = "chicken" -- chickenstring is a table, please remeber this!
 
@DavidCarlisle LOL
 
I think if I wanted to write Haikus, Lua would be the perfect language. But as a programming language, it leaves something to be desired.
 
@FaheemMitha It's just an observation really: it's how Lua works, so everything else is syntactic sugar
@FaheemMitha It depends what you want to do: Lua was designed for certain light-weight applications, and its good for those
@FaheemMitha I find the whole namespace business quite odd, I guess because I'm a TeX programmer: having multiple things with the same name seems to be to be a recipe for confusion ...
 
@FaheemMitha it's like any other language, you need to adhere to the language style and not the other way around.
@JosephWright :)
 
@PauloCereda A menos que você tenha um oráculo perfeito que possa traduzir qualquer idioma
 
11:41 AM
@DavidCarlisle Fantástico!
 
Got it right for once?
 
@JosephWright which reminds me: Marcel removed quite a lot globals from luaotfload: github.com/latex3/luaotfload/pull/94
 
@JosephWright Namespaces can be useful under certain circumstances, such as when sharing stuff between different files. And there are standard names for some local variables, at least. But you don't want them to propagate.
@JosephWright In this case, does it mean that all the globals from shared would not be visible in b?
 
11:58 AM
@FaheemMitha no, they will be visible. When using require, globals extrapolate boundaries, even with a return statement.
To ensure encapsulation, the variables must be declared local.
 
@PauloCereda Ok.
@PauloCereda I'm not sure "extrapolate" is the word you want there, though.
 
[paulo@cambridge ~] $ cat b.lua
foo = 10
[paulo@cambridge ~] $ cat a.lua
require('b')
print(foo)
[paulo@cambridge ~] $ lua a.lua
10
@FaheemMitha ^^
@FaheemMitha this is basically @JosephWright's approach to globals.
 
@PauloCereda You forgot the pass by return value thingy.
Does the return need to be at the end of the file?
@PauloCereda What is?
 
@FaheemMitha if I declared foo as local, yes, it would not work and I would need to go through a return statement.
 
@PauloCereda I was just wondering if the globals get passed, regardless.
 
12:01 PM
@FaheemMitha if the data you want to pass through is defined as local in the file, you need a return, yes. Otherwise, globals just go.
@FaheemMitha They do, as shown in my example.
 
Though in my case, I don't think a has any other globals, anyway.
@PauloCereda Except your example doesn't have a return.
 
@FaheemMitha no, because foo is global.
 
@PauloCereda Right, but my question is about a return combined with globals.
 
[paulo@cambridge ~] $ cat b.lua
foo = 10
local bar = 1
return bar
[paulo@cambridge ~] $ cat a.lua
local bar = require('b')
print(foo)
print(bar)
[paulo@cambridge ~] $ lua a.lua
10
1
@FaheemMitha Local variables need to be returned. Globals do not.
 
@PauloCereda Yes, I see. Thank you.
 
12:06 PM
@FaheemMitha It's just personal style, at the end. I'd stick with the local + return combo. :)
 
@PauloCereda I'd told that globals in Lua are evil. And they do seem troublesome.
For one thing, they appear to override locals if both are present.
At least in one case I encountered.
Hmm, though in a quick test, apparently not.
At least in the obvious way.
 
@FaheemMitha I mean that as a TeX programmer, I'm used to have \foo@bar@baz and \bong@bar@baz, so I never have to think 'what's the meaning of \baz here?'
 
@JosephWright Presumably the stuff before the first @ would function as a namespace?
I've not used that style of programming myself, but it seems to be standard, at least for TeX.
 
@FaheemMitha Yes
@FaheemMitha Like I say, it's because I'm used to TeX
 
If there are multiple files, one presumably doesn't want to import them all for usage in some other place. Is it common practice to have a single file act as a collection for all the other files? E.g. that single file just requires the other files?
So x.lua consists of only require "a" and require "b", for example.
@JosephWright So your chemistry work doesn't involve things like Python or R?
 
12:25 PM
@FaheemMitha No, I do wet chemistry,with the analysis being pretty simple (Excel can do it)
 
@JosephWright Ok.
Hmm, so one can make functions local too. Good to know.
 
@JosephWright suitable for a duck ;-).
 
@UlrikeFischer LOL
 
Excel statistical features are pretty sucky. As I recall, they had these glaring bugs, and nobody would fix them.
I remember running into one of them, and the idiot professor I was dealing with suggested (in an email) that it was somehow my fault. Turned out to be an Excel bug.
Of course, things may have improved. That was a long time ago.
 
@FaheemMitha I only need to do simple regression: I'm more at the 'wet' end of chemistry, so do simple fitting of linear data sets, no global fitting or whatnot
@FaheemMitha Yes, that's not unreasonable
@FaheemMitha Yes, either local function foo() or local foo = function()
 
12:33 PM
@JosephWright A DUCK
 
@PauloCereda Who are you who are so wise in the ways of science?
 
@JosephWright Actually, that's probably not necessary, since it gets hidden in the sty file.
 
@FaheemMitha Sure
 
@JosephWright I will not buy this chemistry, it's scratched. :)
 
@JosephWright Well, I'm favoring the former version, but it seems they are equivalent.
 
12:35 PM
@FaheemMitha The former version is syntactic sugar, but is generally a bit easier to read
 
@JosephWright So you've never run into any Excel bugs?
 
@FaheemMitha Er, I never said that :)
 
@FaheemMitha tables can hold functions as values, which is what I do when writing "modules". My functions are defined as table elements, so I simply export the table afterwards.
 
@FaheemMitha Did some data analysis a while ago using some big-ish tables. I made the mistake of using multiple sheets: turns out, this means Excel stops using a sparse approach to data storage. Result: massive memory usage, at least for the 32-bit version :(
 
@PauloCereda Yes, I was considering doing that. Actually, the table I mentioned earlier already contains functions, because those functions share values.
@JosephWright That sounds suboptimal.
 
12:37 PM
@FaheemMitha One way of putting it: by the time I realised, I'd kind-of committed to the approach. Next time, I'd go for Python I think
 
@JosephWright ew
 
@PauloCereda Or not use multiple sheets ;)
 
12:51 PM
Just to show the powers of Excel: It can do ray tracing :D
 
1:08 PM
@JosephWright Python is a good choice for simple data analysis. E.g. Pandas.
 
@FaheemMitha -- The city budget is in such bad shape that such things are ignored. Actually, street tree care is handled more carefully by the utilities that are responsible for overhead wires; if they don't take care of regular trimming, weak branches can fall and break the wires during a storm, and that has even more serious consequences.
 
The memory handling is not especially good, but the same could be said of R.
Actually, R memory handling used to be worse.
@barbarabeeton I always assumed that those small East Coast states were in good shape.
Relatively speaking.
But perhaps that's more a European thing.
Anyway, sorry to hear about your trees.
I actually had to spend some time here trying to get the local municipality to cut the trees here. They were rather overgrown, though otherwise in good shape, as far as I could tell.
Unfortunately, Bombay has the most useless and corrupt municipal corporation on earth. At least, it seems that way sometimes. So it took a while.
Those trees were over 50 ft high and overhanging the terrace. So it was getting a little inconvenient.
I doubt anyone does maintenance aside from that.
I had to write them a letter before they would do anything. In TeX, naturally.
Are there any restrictions on what I can name a file in Lua? For example, would util.lua work? I guess I'd have to avoid keywords, at least.
 
@FaheemMitha why would you need to avoid keywords? the filename is a string
 
@DavidCarlisle Well, when referring to it elsewhere.
 
1:23 PM
@FaheemMitha you can I think always refer to it as a string (even if other syntax is available if the name is a valid lua name) similar to table keys you can only use the table.key=3 syntax if key is a valid name, but you always have table["this key ///:"]=3 possibility.
@FaheemMitha the mapping between the string you use in Lua and the actual filesystem path used is configurable see lua.org/manual/5.3/manual.html#pdf-package.searchpath
 
1:34 PM
@DavidCarlisle nameref.dtx contains a line % \CheckSum{714}. Do one need to worry about it?
 
@PauloCereda -- Be careful. Some of @JosephWright's wet chemistry might be able to dissolve a duck. And I'm not sure I'd trust a dissolute duck.
 
@barbarabeeton oh no
 
@FaheemMitha -- The smallest one has, unfortunately, some serious problems, although I haven't been affected personally. It's the youngest generation that's being most seriously deprived.
 
2:25 PM
@UlrikeFischer we have been removing checksums as things are edited so if the checksum is now wrong just lose that line
 
@DavidCarlisle it is certainly wrong now. But where would it appear? Does it error somewhere?
 
@UlrikeFischer 󠇯 look what you did:
! Package doc Error: Checksum not passed (714<>583).

See the doc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.823 % \Finale
 
@DavidCarlisle oh no
 
@DavidCarlisle well that's the problem with installing with l3build - it is too fast. ;-) I will remove the checksum.
 
@UlrikeFischer originally \Finale complained if there was no checksum but some time ago we changed it so it only checks one if it is there and silently skips the check if no checksum is specified.
 
2:29 PM
@UlrikeFischer I can make it very, painfully, slower :)
 
@PauloCereda It's OK it's an error but git is quite clear that it's @UlrikeFischer to blame, so we have no need to worry.
 
@DavidCarlisle ooh
@DavidCarlisle I will implement l3build blame
 
@PauloCereda print ("Ulrike")
 
@DavidCarlisle I refrained from writing the commit message "remove checksum, blame David" ;-)
 
@DavidCarlisle @UlrikeFischer ^^
It's easy to update stuff in my codebase. :)
 
2:33 PM
@PauloCereda and who can we blame for the "Urlike"?
 
@UlrikeFischer ooh we could go on. How about @PhelypeOleinik?
 
@PauloCereda I think you've mis-spelled 'Joseph'
 
@JosephWright LOL
@JosephWright I can make your name bold and red in the display. :)
 
@JosephWright yes he probably meant Jopesh ;-)
@DavidCarlisle I added the changes from Frank to hyperref. For me the tests failed in four cases with luatex as for some reason it decided that the Xheight of latin modern is different now. Do you get this failures too?
 
@PauloCereda Probably not worth the hassle, my name is too complicated to write. @DavidCarlisle is easier ;-)
 
2:37 PM
@PhelypeOleinik YOU HAVE LOTS OF H'S AND Y'S THIS IS TOO CONFUSING
 
@PauloCereda Exactly :-)
 
@PhelypeOleinik what has happened to the good old Zé Ráite? You got the reference. :D
Ou Zé Certim, soa melhor e mais malandro. :)
 
@UlrikeFischer will try later
 
@PauloCereda (actually that's always a pain: if I need people to write my name correctly I hand them a document. Otherwise I let them do what their imagination allows :-)
 
@UlrikeFischer ooh The Boss™
 
2:40 PM
@PauloCereda I don't know that one. Although Zé is an acute accent away from being the perfect name :-)
 
@PhelypeOleinik C'mon, don't make me explain the joke!
 
@DavidCarlisle I'll take a look. Thank you.
 
@PhelypeOleinik o químico residente, aportuguesado.
 
@PauloCereda Oh, my
 
@PhelypeOleinik Terrible, isn't it? :)
 
2:42 PM
@PauloCereda Terrible is an euphemism :-)
 
@PhelypeOleinik you are mean
 
@PauloCereda You said that. You are the mean one today :-)
 
@PhelypeOleinik I am the practical one today. Don't me me change the blame handler to you. :)
@PhelypeOleinik: a friend of mine once had to deal with someone asking for Palavra para Janelas. At the end of the day, it was just Word for Windows.
 
@JosephWright If you are doing data analysis, there is something to be said for relational databases. SQLite is very popular, as it is extremely lightweight, but if you want something more serious PG is the way to go. DBs are language agnostic, so it's helpful if you want to switch between different analysis tools. Much better than serialization (ugh).
 
@PhelypeOleinik and I simply love how drivers are translated to motoristas, regardless of the computer context. :)
 
2:45 PM
@PauloCereda LOL
 
Good afternoon everybody
 
@PauloCereda Translations can be quite amusing
 
@PhelypeOleinik Thank you very much for my last edit for a tag. Thank youuuuuuuuu
 
Hi @StefanKottwitz. How goes it?
 
@FaheemMitha most people using excel do so for similar reasons that they may use Word, and it's not much related to the mathematical capabilities
 
2:47 PM
@PhelypeOleinik Yes! My favourite one is hot asked? for quem te perguntou?
 
@DavidCarlisle I noticed, but only by random chance, that some users were not voting very much and I made an innocent question.
 
@DavidCarlisle Because other people use the same thing? Yes, I know.
 
@FaheemMitha No, because if I quickly want to look at some numbers, it's convenient. For plots, I use LaTeX but oddly lots of people use Excel
 
@StefanKottwitz I hope that the hurricane that was downgraded to force 2 if I remember correctly did not cause excessive damage in your area. my most sincere and welcome greetings.
 
@JosephWright DBs are pretty convenient too.
Though not really an SQL fan, which everyone insists of using. And I think there are better things possible than the standard relational model, but I haven't checked out available options, if any.
 
2:52 PM
@FaheemMitha Really not as much as a spreadsheet, sorry
 
@JosephWright Personally, I detest spreadsheets. So I wouldn't really know.
 
@PauloCereda Ouch :P Once I saw an example use of the word "eleven": Eleven o nível da conversa, por favor.
 
If people want to discover the true power of Excel... ^^
@PhelypeOleinik LOL
@PhelypeOleinik "Entre, meu bem" as "Between my well"
 
And I have my reservations about PG, specifically the query optimizer, which IMO is kind of braindead, but it seems remarkably solid/stable. I never found a PG bug, for example, and I never managed to crash it.
And I run into bugs all the time, all over the place.
 
 
2 hours later…
4:35 PM
@PauloCereda it’s a classic!
 
@HaraldHanche-Olsen it is!
 
5:03 PM
@PauloCereda what is classic at the video? Do you learn something or is it funny? (I don't have the time to look now)
 
@UlrikeFischer you learn something, and it’s funny. but mostly because he keeps insulting his audience, albeit with a glint in his eye. (”you’re too dumb to understand this“.)
 
@barbarabeeton That's no lye. :)
 
@FaheemMitha sqlite is fine even if you’re extremely serious. but if you want multiple writers, postgres is it. the sqlite site has a page dedicated to discussing when you should or should not use sqlite.
 
@FaheemMitha Good, thanks!
@Sebastiano I moved to the Baltic Sea coast. There we never see hurricanes. :-)
 
@HaraldHanche-Olsen PG has many advantages over SQLite. But they don't necessarily come into the picture for every usage.
For example, I'm using SQLite with TeX.
@StefanKottwitz Still doing the cruise ship thing?
 
5:24 PM
@Sebastiano Me celebrating my flight away from the hurricane :-)
@FaheemMitha yes, the fun thing
 
@StefanKottwitz Is it fun?
 
@FaheemMitha It was already fun when I was ship crew, working as IT Officer.
@FaheemMitha Now I’m employed by an airline but flying around as consultant engineer for cruise ships of various cruise lines, that’s fun on the fast lane, on speed. A big wage doesn't hurt either.
 
I try to understand some strange floating mechanism of my figures. Is it correct, that a figure which is too large for a page will float to the end of a chapter, because it is always too large?
 
@JonasStein My knowledge of such things is sketchy, but bear in mind that it's not necessary to float. Or one can float less.
And afaik, float means that LaTeX will put the figure wherever it thinks it fits. But you don't have to go along with it.
 
5:42 PM
I have a figure, which is 80% of the page + 20% caption. It is a few pt too large and floats far away.
in principle I want to let it float, but not 10 pages, just to the next one.
 
@JonasStein You have a bunch of options. Can you make it smaller? If not, you can try to use [h] to start with. I think there are other things you can do too.
And I think removing float is also a possibility.
Normally people here will want a MWE first. Otherwise it will just be general advice.
 
6:21 PM
@JonasStein Normally this happens. E.g this float is too large but is still on page two:
\documentclass{article}
\usepackage{lipsum}
\begin{document}
abc
\begin{figure}
\rule{1cm}{1.1\textheight}
\end{figure}
\lipsum \lipsum
\end{document}
 
6:35 PM
@FaheemMitha Some cruise ships sail with network configurations programmed by TeX macros. Probably done by a crazy engineer.
Quick sample snippet:
\begin{config}%
  \foreach {\i} in {1,...,30}{%
    \def\VLAN{6\twodigits{\i}}%
    ! Virtual interface subnet 10.16.\i.0/24 switch stack \i
    interface Vlan \VLAN
      description IPTV:10.16.\i.0/24:SWITCH\i
      vrf member IPTV
      ip address 10.16.\i.2/24
      ip pim sparse-mode
      hsrp \VLAN
        authentication text HSRP\VLAN
        ip 10.16.\i.1
  }
\end{config}
 
@StefanKottwitz You're kidding.
 
@FaheemMitha No, a macro expansion text processing language is great for automating network config tasks. Especially if it does the documentation texts and drawings at the same time too.
 
@StefanKottwitz Maybe, but still sounds a bit out there.
 
@FaheemMitha Hold my beer
 
6:51 PM
@StefanKottwitz Hmm. If you're doing that kind of thing, I'm surprised your employers go for it. Don't they want everything written in Java?
 
@FaheemMitha Hm, visit my presentation link above, and tell me how to do all of that that in Java instead of TeX.
 
@StefanKottwitz I didn't say it was a good idea. It's just that's how people think.
 
yo'
@UlrikeFischer there is probably something you don't know in that video.
 
@yo' at which time?
 
@FaheemMitha Sure :-) in my area we just get things done.
 
yo'
6:55 PM
@UlrikeFischer that's a good question. For me it wasn't until about the middle
 
@StefanKottwitz I see. Well, pragmatism is good.
 
yo'
In general, unless Excel is a choice of yours often, you probably won't learn much useful there
 
@FaheemMitha yes, in our team we are paid to get a project done and documented, we don't develop software products
 
@StefanKottwitz So I guess you must use LuaTeX a lot.
 
@JonasStein then it should come on a float page on the next page, unless you have prevented that,
 
yo'
6:57 PM
@StefanKottwitz funnily enough, I'd go the other way around in a sense. I would have Python as the outer layer and help myself using LaTeX when useful
 
@FaheemMitha Just a bit, and often it's just done on the fly and not kept
@yo' That's good! The best tool is the one you know well and have available.
@yo' If all you have is a hammer, everything looks like a nail. If you have TeX, every task looks like a document.
 
yo'
@StefanKottwitz :)
 
@StefanKottwitz Actually, the best tool is the one that suits the task.
 
yo'
@FaheemMitha No, the best tool is the one in which you (or your colleagues or future colleagues) can get the task done in the best way
 
@yo' Yes, and the best way is using the best tool for the task.
I'm not saying that TeX isn't the best tool here.
It was just a general comment.
 
yo'
7:07 PM
@FaheemMitha no. The best tool for a lot of stuff is quite likely and quite objectively perl. Yet, I wouldn't manage to do them in this language.
 
> The best tool for a lot of stuff is quite likely and quite objectively perl.
 
@FaheemMitha No worries, nobody wanted to say what is the best.
 
Um, not sure where you are getting that from.
 
@FaheemMitha there is unlikely to be a best tool for a task, it's almost always more about the best tool for the person.
 
I'm also not saying that the best tool is a well-defined thing. Though in some cases, it's obvious when something isn't.
 
yo'
7:08 PM
@FaheemMitha a lot of easy data manipulation is best done in PERL, it has the most compact syntax and exactly the right tools.
 
@FaheemMitha The best way doesn't have to be using the best tool. You cannot invest months in learning a different language because it fits better, than to do it in a language that your team already knows it well, in some hours or days.
 
@DavidCarlisle Well, some people try to do version control by dumping stuff to tar archives. For example.
@StefanKottwitz Fair point.
 
@FaheemMitha that may be the best thing to do in the circumstances. It all depends.
 
But I was assuming a level playing field here.
@DavidCarlisle Ugh. That's hard to imagine.
 
@FaheemMitha Just talking. :-)
 
7:12 PM
@FaheemMitha if the choice is have no backup, tell someone to at least dump a tar file somewhere safe or teach someone how to use git/mercurial/svn/whatever the tar file has lots of advantages.
 
yo'
@FaheemMitha why? I have been doing this with my thesis. Worked pretty well. It has the least overhead for setup, and I only needed it like 20 times. So what's the matter? Right-clicking a folder and clicking "Compress" takes like 3 seconds :)
 
@yo' You don't use version control?
 
yo'
@FaheemMitha for a thesis? No. For scientific articles? No. That's just distracting me from doing the real work.
 
@yo' Interesting perspective. I disagree strongly, though.
 
yo'
For things that can evolve over years? That's a different story, and I think I should have set up a version control for some of my sheet music, for instance. However, I still mark the published versions with publish date, and so far this has been sufficient.
@FaheemMitha that's possible :)
 
7:16 PM
@StefanKottwitz Great ahahah. Very nice the photo. You look like a businessman with a glass of "passito" or "marsala" wine to me?)
 
You could make a very similar point with TeX, actually. And with more reason. Version control is 100 times easier to learn than TeX.
 
Good evening to all into chat.
 
@yo' Your thesis doesn't evolve over years? Or scientific articles?
Hi @Sebastiano.
 
yo'
@FaheemMitha in general? No.
 
@FaheemMitha but if what the user wants is a document they have 1000 times more reason to learn tex than git.
 
7:17 PM
@DavidCarlisle They could use a word processor.
 
@FaheemMitha my thesis was written with no backup at all, I survived.
 
I mean, there are always alternatives.
@DavidCarlisle That was brave of you.
 
@FaheemMitha Hi and best regards from tropical weather in Sicily
 
@FaheemMitha perhaps they could. I never managed to use one of those.
 
@Sebastiano I usually send a photo from the plane with the map on the screen to my girlfriend before it starts. It often contains champagne or sparkling wine as it's often served when you take a seat ;)
 
7:18 PM
@FaheemMitha well given that it was written in pen, on paper, the backup options were limited.
 
@Sebastiano Ooh, Sicily? Do you live there or just visiting?
@DavidCarlisle Ah, old school.
 
@FaheemMitha I lived in Sicily.
 
@DavidCarlisle Me neither. My feelings about word processors are lukewarm at best.
@Sebastiano Past or present tense?
 
@FaheemMitha Present: I live in Sicily
 
@Sebastiano Ah. Is it nice?
 
7:20 PM
 
I was just watching the "Aquaman" movie. Supposedly filmed in Sicily, but actually not.
@Sebastiano I take it that's a yes. :-)
 
@StefanKottwitz Then you do the good life....I wish you the best of luck for you, your girlfriend and your life.
@FaheemMitha These are some pictures of the sea in my little town.
 
@Sebastiano Can you go swimming there?
 
@FaheemMitha Of course, my house has a distance of 300 m from the sea
 
@Sebastiano That's nice. Does your town get many visitors?
 
7:30 PM
@FaheemMitha Enough especially in August when there are festivals of swordfish and tuna. Now there are also many tourists over 50 :-)
 
@Sebastiano Ah. Are there many Airbnb's where you live?
 
@FaheemMitha It is a secret :-) There are many B&B's and holiday homes.
 
@Sebastiano What's a secret?
 
@FaheemMitha Where I live. :-)
 
@Sebastiano Oh. Why?
 
7:34 PM
@FaheemMitha I won't tell anyone :-) otherwise which TeX.SE user comes to visit me ahahahahah
 
@Sebastiano I don't follow.
 
@FaheemMitha For my privacy :) just only for this.
 
@Sebastiano Ok.
 
@FaheemMitha I'm going to the bathroom :-(. Excuse me very much
 
7:52 PM
@FaheemMitha I'm here. Excuse me very much.
 
04:00 - 20:0020:00 - 00:00

« first day (3238 days earlier)      last day (1710 days later) »