« first day (3224 days earlier)      last day (1723 days later) » 

6:04 AM
@Ungeheuer Also, you can make pretty good (vector graphics) diagrams in TikZ.
@Gilles I would have you pegged as a TeX user. And you've clearly used it before.
 
6:19 AM
@Gilles Note that LuaTeX is a bit of a game-changer. For the first time, there is a TeX engine with actual scripting capabilities, courtesy of the Lua project.
I'm not really a Lua fan, but half a loaf is better than none, as the saying goes. Perhaps even in French.
 
6:49 AM
@Ungeheuer Might be worth a question on Unix & Linux or Information Security where you state your security objectives in detail
@FaheemMitha TeX is pretty much out if you want people who aren't familiar with it to edit the document
It's also inconvenient for some things, although luatex (which I've never used) might be an improvement. For technical documentation, it's important to have good indexing, and in tex that's awkward, has to go through an external tool
Also for technical documentation there's often a requirement of having HTML output, which is difficult when it comes from tex
 
@Gilles It's text to a first approximation. They can ignore the markup. Seems doable to me.
 
even worse when you need html output conforming to some corporate color scheme
 
@Gilles You mean BibTeX?
 
@FaheemMitha makeindex/xindy, and all the machinery to declare things and make cross-references
 
@Gilles That's historically true. Though I think that Lua might make a better job of HTML conversion than other tools. But thus far I've only seen proofs of concept.
 
6:55 AM
so that when the documentation talks about the frobnicate method there's automatically a hyperlink to where the frobnicate method is described
 
@Gilles Oh. I don't think I know makeindex. I've used BibTeX.
@Gilles Yes, I see.
Historically it's also been impossible (or at any rate, very difficult) to get TeX to talk to a database. It's now possible (actually quite easy) with LuaTeX. Which is useful.
Hmm. Just did a search for makeindex/xindy. I guess I've never needed to create an index.
 
This paddawan is in need of a Jedi master to tell him what m and d in mdadmin stand for.
 
@clemens No, and I hadn't heard of spreadtab, either, so thank you. But can it be useful for what I want to do? At first glance I don't see anything that would help with collecting data from multiple cells in the same row. — Gilles Jan 18 '17 at 22:30
 
(Yeah, I know what it does, just wondering what it means)
 
@Gilles ^^ It's possible that LuaTeX might help with that too, but I've not actually tried it.
@Fabby multi-disk.
 
7:04 AM
@FaheemMitha Thank you, master! ;-)
 
@FaheemMitha The md in mdadm is “multiple device”. I don't know about mdadmin.
 
You're talking about software RAID, right?
@Gilles I stand corrected.
@Gilles Do you currently use TeX? I see you have some activity on TeX SE.
 
@Gilles Thanks, Master... >:-) I was under the impression that my fellow Paddawan @FaheemMitha was a master himself...
(I meant mdadm...)
 
Someone asked this already, and there is a package (collcell) for it. But it doesn't use Lua.
5
Q: Is it possible to extract a cell value from a tabular array?

Peter FlynnIn a documentation application, where the version history of the document is listed in a tabular environment, I'd like to be able to silently extract the value of the last version number supplied, to use elsewhere. The people who type in the metadata can't (and shouldn't be able to) add markup to...

Obviously, for something like this, it's better to work with a scripting language that can actually do calculations. Try to get TeX to do numerical calculations is like trying to get an ostrich to play the cello.
 
7:23 AM
@FaheemMitha Starrred!
(Sorry but that made me LOL)
 
 
3 hours later…
9:55 AM
@Fabby About your answer there: are you familiar with the --write-mostly option to mdadm? It is apparently designed to help when mirroring to slow devices, by making Linux only read from them when absolutely necessary. (I don't have enough time to add an answer to that question right now).
 
10:14 AM
@fra-san Not familiar with mdadm at all actually. Will read some more and edit that in.
(I've got more of a "throw hardware at it" approach to RAID than "use software that can crash and take the entire array with it")
P.S. Grazie!
@fra-san Ouch! --write-mostly goes hand-in-hand with --write-behind so I'd rather not advise that to an OP who clearly had very little Unix (nor hardware) experience...
 
@Fabby no, it’s the other way round: write-behind only works with write-mostly devices
 
Oh, reading again... The full blurb this time...
;-)
 
@Fabby Stephen has been faster than me... If the user understands and accepts the risk, --write-mostly can also enable write-behind (as far as I can tell it needs an intent bitmap). But by default write-mostly does not imply write-behind.
@Fabby Prego :-)
 
10:36 AM
I'm still reading and editing at the same time...
That's one of the reasons I like U&L/ I"m a midget in-between giants learning from the giants @fra-san @StephenKitt
 
10:52 AM
@fra-san @StephenKitt edited and credit given in Note 2: Thanks to fra-san and Stephen Kitt for pointing me in the right direction for the second option!
 
 
2 hours later…
12:44 PM
@Fabby Thanks! I, for one, always try to give credit for every suggestion I get, but you didn't really have to.
 
1:34 PM
Honourable men... ;-)
 
 
1 hour later…
2:40 PM
Some regular expression help, please.
I'm searching for the file latex.ltx. But dlocate latex.ltx matches latex/ltx too.
 
@FaheemMitha dlocate -F latex.ltx
 
@StephenKitt Thank you.
I guess I should try reading the man page, though till now it didn't occur to me that dlocate had one.
 
 
4 hours later…
7:02 PM
@derobert Is that Windows on top of Linux on top of Windows?
 
Yes, though with a couple of those in quotes.
Since Wine is not Windows and WSL isn't Linux.
 
@derobert Well, close enough.
And it's insane regardless.
 
@derobert Funny! (starred)
 
7:59 PM
I'm not familiar with this site, but some person or persons went to a lot of trouble here. And this is just one page. rosettacode.org/wiki/Even_or_odd#Common_Lisp
 
8:14 PM
@FaheemMitha oh wow...
 
8:29 PM
@FaheemMitha Both return statements could be removed from the "UNIX Shell" code. Also, since it looks like that is actually bash (not sh), it would be enough with iseven () { ! (( $1 % 2 )); }
 
@Kusalananda Time for an edit, perhaps?
 
8:41 PM
@FaheemMitha I don't care enough...
 
@Kusalananda have you spent any time thinking about this question?
 
@MyWrathAcademia No. It was pure reflex upon seeing that shell code.
Sorry. Thought you meant something else.
Hold on.
@MyWrathAcademia Ah, that one.
 
@Kusalananda Yes
 
Yes, I spent some time thinking I should close it as unclear.
Then I decided I let others decide that.
 
@Kusalananda , good call to leave it open. I thought about it too, although the question has errors, it can be done
 
8:56 PM
Sure, if the examples were consistent, it would be easy.
However, it's also unclear what they mean by a "regex script" and whether it has to be done in some language supported by that (to me unknown) editor.
 
@Kusalananda , when you looked at the question did you get `[1, 1, 1, 1]
[0, 0, 0]
[1, 0, 0]
[0, 0, 0]` as the desired output using the poster's logic?
I ignored the decimals because I think it is a mistake
 
As the example data was inconsistently changing in the number of columns (and that floating point number), and since the user replied to me in comments saying basically "that's the way it should be", I decided not to try to understand it.
 
@ Yes, I also don't know what they mean by a regex script. Is it even possible to do what the question is asking for using only regex?
@Kusalananda I'm still new to regex so I don't know what it can and can't do
 
No, a regular expression only matches some string from another string. You can never do something like that with only a regular expression. You could possibly use sed or awk or perl or something and use regular expressions together with the language to do the needed substitutions.
2
 
@Kusalananda that's what I thought
@Kusalananda I agree that question has errors that I have tried to point out, hopefully the poster realizes
0
Q: Find and replace the columns of matched and non-matched lines with a character

user3441801I would like to find and replace the first column of matched lines with a character and non-matched lines with another character and then do the same with the subsequent column and so on until the desired output using regex script (I am using EmEditor), for instance, I have the following: 123,12...

So that's how to insert a link and preview it; just the link, not wrapped in markdown
 

« first day (3224 days earlier)      last day (1723 days later) »