switch to room list switch to menu My folders
Go to page: First ... 15 16 17 18 [19] 20 21 22 23 ... Last
[#] Mon Sep 14 2015 00:13:48 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

Bummer on the lib abstraction not being there.  It would be a bit safer than poking around where it is probably not safe.

Nice find on Madoko  / Koka.  I never did learn LaTeX, but I found it appealing every time I read about it - (especially coming from the times of fitting a report to the bounds of what could be done on an Epson dot matrix in escape codes era).

[#] Mon Sep 14 2015 14:21:04 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

yea, latex is definitely a good inbetween format, I once did my bills with it, and used it as bridge dokuwiki->pdf, plus my vitra is done with it... and, if its not complicated tables, the results look nice!

[#] Tue Sep 15 2015 01:10:37 EDT from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

latex is damn pretty.  I was aiming to do a resume in that as the textbooks that were done in latex at the time were borderline eye candy :-)

[#] Tue Sep 15 2015 10:04:11 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

That wouldn't work for any document that would reside on my home computers.
My wife is allergic to latex.

[#] Tue Sep 15 2015 10:59:34 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

Can't blame her. Nobody should have to edit source code just to format a document.

[#] Tue Sep 15 2015 13:07:16 EDT from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

it works with markdown. it just uses latex as intermediate format.

ok - you can use latex for complicated formulars, but I gues booboo doesn't have much use for them anyways?

[#] Wed Sep 23 2015 08:38:20 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

[[ whoooosssshhhhhhh... ]]

[#] Fri Sep 25 2015 08:57:34 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]

This week, I learned about some of the problems associated with global, static variables, destructors, and some of the odd consequences one experiences with these things when a process ends.

For what I need to do, I inject another process with my shared object (or DLL in Windows-speak), then the shared object hooks certain functions in the process into which it is injected so it can see how those functions get called.

Spiffy fine, works okay for those processes that do not actively pay attention to uninvited guests, but it gets weird when the process ends.

I'm caching information that I need to send, and when the process goes away, so, too, does that information. The only signal available to me that the process is ending (that I can rely upon) is the destruction of an object.
But objects can be destructed in any order when they're static... so if you rely upon one of those things to hang around while you're busy sending that cached information, you will know suffering and pain.

When you use third party libraries for some of your needs, and you don't realize that they are using such variables, your pain grows.

On the one hand, this week has been tough, trying to track this kind of thing down. On the other hand, now that I've solved it, I feel kind of like a rock star.

[#] Wed Sep 30 2015 12:26:52 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

Yep. Same thing in java... doing too much in static initializers can lead to all sorts of unexpected pain, because dependencies aren't set up yet, because the order of class initialization is hard to grok (probably undefined, in general.)

And you're not supposed to even use destructors, like the "emergency stop - never use" lever.

[#] Fri Oct 02 2015 10:21:19 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]

Yeah, in C++, one is encouraged to use destructors as part of "RAII" (Resource Acquisition Is Initialization).

Admittedly, it is an abuse of destructors to use them for detecting that a process is ending, but my hand is forced, heh.

[#] Fri Oct 02 2015 19:17:28 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

Right. An application should have a well managed "startup" and "shutdown" sequence, all along the object dependency chain, which happens before your final destructors are hit.

[#] Fri Oct 02 2015 19:19:52 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

I remember a funny thing in Gnome, circa 1997-1998 or so, where there was a plugin mechanism for the panel (taskbar equivalent) which was based on linux shared objects. The shutdown sequence was set up such that it all happened from the .so unload hooks, or something like that. Basically, the shutdown handlers were running on a call stack that wanted to return back into an image that had already been unloaded. Ooooops.

[#] Sat Oct 03 2015 10:32:38 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Shutdown sequences are for sissies who can't handle having the entire process killed in one shot. :)

[#] Tue Oct 06 2015 12:21:13 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


[#] Tue Oct 06 2015 14:47:42 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


[#] Tue Oct 06 2015 14:47:44 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


[#] Wed Oct 07 2015 14:06:03 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]

Yeah, it's... it's just not the same anymore, is it?

[#] Thu Oct 08 2015 20:30:47 EDT from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Ford and the Family of Ford was seen in meatspace this week. He has a new job and a second child.

[#] Thu Oct 08 2015 22:19:59 EDT from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

Last time I saw him was a random Grand Central Dining Concourse run-in, maybe?
Half a lifetime ago.
Been in touch more recently.

[#] Fri Oct 09 2015 07:01:39 EDT from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]

I didn't know about the second child, but I think I knew about the new job.
Maybe. He doesn't come to the cybersecurity stuff in DC as he has in the past. Which is kind of funny, now that I'm involved in that kind of stuff.

Go to page: First ... 15 16 17 18 [19] 20 21 22 23 ... Last