-
tsoome_
I really fail to see why we are still keeping those bits in gate, which are replaced by every (all?) illumos based distributions.
-
yuripv
which bits?
-
tsoome
like vi, lp, sendmail, csh, curses maybe?
-
yuripv
burn them all
-
tsoome
:D
-
Agnar
not burn, but put them in another gate or leave it to the distros
-
denk
burn them on a dvd to send it on the Moon for the future
-
sjorge
denk we should not taint the moon with those
-
Agnar
nah, we should keep it in a seperate repo. for example I can't get used to vim, I really prefer the old vi. I know that's probably not the taste of the masses, but nobody get's hurt to keep that thing ;)
-
Agnar
distros don't have to include it anyway
-
yuripv
what's the real difference between vi and vim for you?
-
Agnar
multiple undo makes me mad, so as the macro recorder I often accidentally stumble into
-
yuripv
wonder if `vim -C` takes care of that
-
Agnar
and I can't remember how to turn off auto-indent for yaml :)
-
Agnar
yuripv: unfortunately not :)
-
Agnar
that's why I have /usr/has/bin very early in $PATH :)
-
yuripv
it seems to get rid of multiple undo, at least
-
yuripv
i must admit i didn't ever run shipped vi in illumos (i do in freebsd though)
-
Agnar
I use vi if it needs to be fast, otherwise emacs :)
-
yuripv
in any case, vi is not the worst (actually far from that) cruft found in the tree
-
Agnar
agree
-
Agnar
csh should be buried. deep below. because it's not only dead, it started smelling aweful 20y ago already
-
Agnar
;)
-
paulf
still use ksh at home
-
Agnar
same here
-
paulf
too much bother at work, csh was the default for donkeys years and lots of scripts only available for csh
-
Agnar
SAP? ;)
-
paulf
No, Siemens
-
Agnar
ah, that would have been my second guess :)
-
rmustacc
The best way to make sure the things you care about stay around is to help improve them and make them 64-bit clean.
-
Agnar
rmustacc: good avise, you are right.
-
jbk
heh.. some things never change i guess
-
rmustacc
The reason they come up in contexts like this is folks are looking at archs like ARMv8 where aarch32 doesn't exist so inertia isn't enough for some things.
-
jbk
siemens telecom (no idea where that division is now) had a product called an 'FFP' (fast feature platform) that ran on sparc 20s
-
jbk
and heavily used csh as i recall
-
rmustacc
There's unlikely to be some separate gate that the project maintains for things we've decided we're not maintaining, though anyone can.
-
Agnar
rmustacc: well, my idea was more or less a "retirement" repo
-
Agnar
rmustacc: isolate it from gate in a clean way at least, so it can be built individually at that moment. that would make it easier for others to pick up
-
Woodstock
easier than just fixing it in gate?
-
Agnar
Woodstock: nah, just instead of "just dropping it from gate"
-
Woodstock
how about not dropping it, but disabling it just on platforms where it is known to be broken?
-
Agnar
but I might have the chance to spend some time in the next two weeks as my company will send me likely to Pakistan this saturday and they don't have alcohol...
-
Agnar
Woodstock: also a good idea
-
jbk
i don't know.. sometimes dealing with that ancient code, alcohol can be a useful assistant :)
-
Agnar
well, it was easier for me to touch last(1) and sar(1m) when being sober ;)
-
jbk
rmustacc: i'm wondering if this might be worth an explanation in mac_intr(9S)... if i can explain it well...
-
jbk
it's suggested from the man page that mac will handle enabling/disabling interrupts for a ring
-
jbk
except it appears (unless something else is goofy), it doesn't do that after starting a ring
-
jbk
so the mac ring's start function would need to do that initially
-
jbk
I get that enabling/disabling is used to switch to/from polling mode, but i guess maybe the disconnect is that (maybe?) a ring always starts in interrupt/non-polling
-
jbk
?
-
jclulow
I know very little of the specifics, but I expect you wouldn't end up in polling mode unless we had decided it was valuable
-
jclulow
so, I would expect to start in interrupt mode
-
rmustacc
jbk: We can probably add more; however, the 'Registering with MAC' section makes it clear that interrupts should be enabled as part of that sequence.
-
rmustacc
MAC handles dynamic toggling, but it's expected you get all the basics enabled.
-
rmustacc
But we can certainly make it better regardless.
-
rmustacc
And yes, everything starts in interrupt mode.
-
tsoome
variables min and max: int64_t min, int64_t max; if (max > INT64_MAX || min < INT64_MIN)....
-
richlowe
sometimes neither our belt nor braces fit properly
-
richlowe
speaking of which do any of you know ldap internals fairly well?
-
richlowe
snoop does: offset = 1+ tag&0x007f;
-
richlowe
and I am far from sure they understood the precedence of that
-
richlowe
or even whether they thought the weird spacing helped
-
richlowe
/* length is multiple octet. */
-
richlowe
offset = 1+ tag&0x007f;
-
richlowe
and I feel adding the parens around the _actual_ precedence would be a grave mistake, given how unclear it is it's what they hoped it would be
-
sommerfeld
I believe ldap uses ASN.1 BER
-
richlowe
those are not words I'd hoped to hear, but that sounds familiar.
-
danmcd
He's right. :(
-
sommerfeld
IIRC 1 byte tag, then a variable-length length, then bytes.
-
sommerfeld
ah, in this case "tag" is the first byte of the length. if the high bit is clear, the low 7 bits are the length. If the high bit is set, the low 7 bits are the length of the length in bytes.
-
richlowe
that seems like they wanted `1 + (tag & 0x7f)` then?
-
sommerfeld
yes
-
richlowe
"oops"
-
sommerfeld
unclear how much trouble this could cause.
-
richlowe
I'd like to paste this into the bug I'm filing, if nobody minds?
-
sommerfeld
go for it.
-
richlowe
I filed #15919 (fenix?) but lack the network environment to do much about it at the moment.
-
fenix
BUG 15919: snoop LDAP decoding has precedence confusion (New)
-
fenix