2000+ entries in 0.001s
billymg: it's short and closest
to
the original [[]]
that was suggested but without failing in bash snippets
billymg: and
thanks for bearing with me during
the live style
tweaking
billymg: ok, do you mind refreshing
to see if
that fixed what you were seeing?
billymg: the width of my codeblock column vs.
the width of by blog content column vs.
the width of
the blog "layout" (white bg) is all set in my
theme, not in
the plugin
billymg: > visual separation via background or similar, sure; but why is more
than
that needed? <<
this is
the main reason, yes, and i
thought
that i kept
that
to a minimum (1px light gray border is all really)
diana_coman: visual separation via background or similar, sure; but why is more
than
that needed? (and I'm
truly asking aka if indeed
there's a good reason for it, fine; I just don't currently see
the reason)
diana_coman: billymg: I don't get why is
the code separated from
the rest of
the
text as such; for one
thing
the
test article
there for instance did not work well at all on zoom in/out in my firefox
billymg: also fwiw
the width of
the viewport i have set in my blog's
theme css, not in
the plugin.
the css in
the plugin was left intentionally bare-bones so
that users could style it
to best fit
their own blog layouts
billymg: so i could remove
the 1px gray border and increase
the width by about 20px so
that it goes right
to
the edges of my blog's content column, but
that would still be a viewport, no?
ossabot: Logged on 2020-01-28 15:04:59 mircea_popescu:
the portion "$footnotes_options['superscript'] = (array_key_exists('superscript', $_" is visible on my browser. in order
to actually see
the "POST)) ?
true : false;" portion of it, i'd have
to scroll right. however,
the right scrollbar is under line 413. if i scroll
that far down,
the
topmost line is in
the high 300s, meaning
that i can't observe
the effect scrolling right has upon line 149.
billymg:
http://logs.ossasepia.com/log/trilema/2020-01-28#1957590 << ahh, i see what you mean. yes
that block was particularly bad in
the first version, mostly due
to
the insane default css
tab-width setting. it's also something
that i
tend not
to notice because i don't use
the scrollbars
themselves for scrolling (trackpad on a laptop instead)
billymg: hrm, i'm not seeing anything else in
the
trilema logs css
that would fix it. so
the space
to
the right of
the pane is completely empty, not a single line extending past
the viewport's edge? is it a lot of empty space
to
the right (in
terms of pixels, inches, or however)?
billymg: but i'm not even sure yet if
that's what's causing
the ghost scrollbar you're seeing, since you say
the
text is properly wrapping within
the viewport and
the scroll appears unnecessary
billymg: ok, so
trilema logs uses `word-wrap: break-all` on
the entire content column. i used jfw's suggestion of `white-space: pre-wrap` on
the code column because it wraps long lines without splitting individual strings
billymg: in my version of firefox
there is no scroll bar, but lemme
take a look at
the css for
trilema logs...
billymg: no, no setting
there, so whatever's default (which i believe is overflow: auto)
billymg: hrm,
that's strange.
that was my only guess as
to what be causing
the ghost horizontal scroll bar (those lines needed a special case handling with `word-wrap:break-word;`
to properly wrap)
mircea_popescu: 128MB default memory limit for a PHP script <<
this is not factual ;
there's no default limit for a php script, it's set by config file, you can make it any value you wish.
billymg: > because while
the horiz scrollbar is still
there for some reason,
there's no need of it, as
the actual width matches
the window width <<
this might be because
the hashes at
the
top of
the diff are not being broken in your browser
mircea_popescu: this is remedied in
the new version, because while
the horiz scrollbar is still
there for some reason,
there's no need of it, as
the actual width matches
the window width, so
there's no leeway
to scroll left/right
mircea_popescu: the portion "$footnotes_options['superscript'] = (array_key_exists('superscript', $_" is visible on my browser. in order
to actually see
the "POST)) ?
true : false;" portion of it, i'd have
to scroll right. however,
the right scrollbar is under line 413. if i scroll
that far down,
the
topmost line is in
the high 300s, meaning
that i can't observe
the effect scrolling right has upon line 149.
mircea_popescu: billymg, in
the original example i looked at, line
149 reads : "$footnotes_options['superscript'] = (array_key_exists('superscript', $_POST)) ?
true : false;"
billymg: and whether or not
that was similar
to what a "linter" would do (which is closer
to
the first block, depending on how it's configured)
billymg: that probably wasn't
the best example for "how
to manually format your code
to fit in
the viewport", since
the regex line still goes beyond
the max column width, but i was mostly
trying
to make sure i understood what jfw meant by "language-aware indentation" from his editor
billymg: i personally prefer
the formatting in
the first block because
the newlines and indentation make it very easy
to see
that exactly one condition is being
tested (the result of preg_match_all) and
that preg_match_all is being passed exactly 4 arguments
ossabot: Logged on 2020-01-28 06:24:08 mircea_popescu:
http://logs.ossasepia.com/log/trilema/2020-01-28#1957549 << your example instantly falls down on its own power, btw :
think you,
to scroll right
to see portions of
the
top lines i now have
to scroll down such
that
the lines in question are off
the viewport ? how do i know when i scrolled enough ?
billymg: there should be no more horizontal scrolling, but potentially depending on browser vintage some of
the css attributes may not be supported. if it looks off
to anyone please let me know along with browser version so i can look into it
billymg: i reduced
the
tab-width and added
the css line wrapping jfw suggested
mircea_popescu: in any case,
the "machine-wrapped lines" refers
to
the machine pissing spurious characters into
the
text, NOT
to how any
terminal ~displays~
the
text. what's wrong is specifically comma-slash-n, a syntactucally forbidden construction, \n can only follow a dot, questionmark, exclanation point etc.
mircea_popescu: and i
think it's extensible :
the same exact process should be applied
to all code displayers ; it'll handle comments correctly by default, and people who don't like what it does
to
their code should write
their code otherwise.
mircea_popescu: what i'm saying here
to billymg is
that he really should look into how
trilema flows
the content of logs such
that
they fit in
the allocated space, imo
that's
the only way
to go about
ths problem
mircea_popescu: now, all
this becomes entangled once we apply our
literate coding standards, because suddenly
the code-vs-text difference above dissolves, and wtf are you saying, mircea_popescu ?!
mircea_popescu: there's also
the argument
that
the compiler's
the arbiter of code, and if ~it~ doesn't complain
then fuck you. but in any case i really am not advanced enough
to have
the impression i have something
to say on
that matter.
mircea_popescu: then again have you seen my/his (hey, if dumbass bois can be denoted by complex pronominal constructions of little sense and even less purpose, why can't i be my/his!!!!) bash kb+ one-liners ?
the man's insane!
mircea_popescu: there's
the argument
that very long lines are a symptom of poor writing habits, and if one re-wrote his code such
that "fitting code
to viewport" is never an issue
the code won't
thereby suffer (and if
this means ditching idiocies like "object oriented" and dead-end wanna-be nonlanguages -- well, it's a public service).
mircea_popescu: wrt code however, mircea_popescu has no firm oppinion on line length, or what
to do about it (apparently he also doesn't have a firm oppinion on discussing himself in
the
third person, which strikes
the fourth person mp,
that being
the first person reading itself in
the
third person, as a little odd).
ossabot: Logged on 2020-01-28 02:42:48 jfw: Wrapped lines are something you can get used
to perhaps. My historical preference was
to pick a fixed width (typically 80) and use
the
text editor
to wrap at
that with language-aware indentation, but I understand mircea_popescu
to be firmly against
this.
mircea_popescu: wrt
text, mircea_popescu is firmly against machine newlines, because
text is supposed
to maintain auctorial intent not machine convenience, and
the unit is
the paragraph, and further considerations.
mircea_popescu:
http://logs.ossasepia.com/log/trilema/2020-01-28#1957545 <<
this is a misunderstanding. wrt code, mircea_popescu is firmly against spaces-as-substitute-tabs, on
the
theory
that duble vowels are stupid and
triple-vowels pure linguistic breakdown.
there's no fucking reason
to keep clucking at
the same button over and over like a maniac ; and besides
there's semantic difference between
the
two, spaces-as-tabs are just fucking
ossabot: Logged on 2020-01-28 02:39:59 billymg: i
think i lean
towards displaying code exactly as it is, even if
this means some horizontal scrolling _within_ a pane, rather
than machine-wrapped lines (which can be disastrous for legibility)
mircea_popescu: one of
the many benefits of
travel, it forces
the review and fixing of bad
trees.
ossabot: Logged on 2020-01-28 01:20:54 billymg: btw in a few i'll be in cr for about a week.
this past week i've been setting up
travel iron, archival and
transfer procedures, etc.
the digital part of
the move proving much more complicated
than
the physical
mircea_popescu: bvt, i did see
that, but i
took it as a simple stop-gap non-answer. it's
there serving a political purpose, i don't have cause
to
take offense for neglect or anything, which i don't ; but it's not ordinarily much of an answer, as
there's no proceeding on it.
jfw: billymg: realized I might not have quite understood what you're asking - I meant indentation strictly, not adding line breaks, if
that's what
the linter does. Much harder
thing
to do mechanically and well.
jfw: yes, vim and emacs for example do
this automatically for known file
types.
billymg checks
time, goes
to get ready for bed
billymg: that one i formatted manually but in
the saltmines had "linter" running which would do
the same
thing on every file save
billymg: it's also on my
todo list
to eventually create a reference
theme for mp-wp.
this should be an opportunity
to better support
the code "content
type" within
the context of a blog
jfw: I'll need
to duck out of
the discussion for a day or
two
though; been falling behind on my own priorities. Wanted
to chime in
though since I'd been recently dealing with blogging snippets.
jfw: Wrapped lines are something you can get used
to perhaps. My historical preference was
to pick a fixed width (typically 80) and use
the
text editor
to wrap at
that with language-aware indentation, but I understand mircea_popescu
to be firmly against
this.
jfw: you're welcome. and yeah, no fully satisfying fix
there
that I'm yet aware of
billymg: i
think i lean
towards displaying code exactly as it is, even if
this means some horizontal scrolling _within_ a pane, rather
than machine-wrapped lines (which can be disastrous for legibility)
billymg: i
think
the most involved was
the one about styling. it's
tricky because
the ideal width for a column of
text in an article is not
the same as
the ideal width for a pane displaying code
billymg: jfw:
thanks for
the quick and
thorough review. i left a response
to your comments
ossabot: Logged on 2020-01-26 17:40:14
trinque: I can almost certainly steal someone's session cookie with a comment if
they do what dpb suggests.
jfw: trinque:
http://logs.ossasepia.com/log/trilema/2020-01-26#1957361 - independent of
the proposed session cookie change, in
theory
this is not so:
there's a whitelist for
the
tags allowed in comments. In practice it seems
to work
too. It's in
the ever so intuitively named wp-includes/kses.php
jfw: billymg: commented on your vpatch draft, probably went
to spam.
billymg: after
that, no more excuses. and my work and communications will reflect
that
billymg: looking forward
to being completely done with
the move and settled in early march -- five short weeks away!
billymg: btw in a few i'll be in cr for about a week.
this past week i've been setting up
travel iron, archival and
transfer procedures, etc.
the digital part of
the move proving much more complicated
than
the physical
billymg: those were some good reads and re-reads,
this certainly eases
the paranoia
that still creeps up every now and
then
ossabot: Logged on 2019-12-23 02:18:41 mp_en_viaje:
to be perfectly clear & understand each other :
the ENTIRETY of stage, from "broadway"
to "highbrow
theatre"
to ballet
to ice skating
to ~EVERYTHING ELSE~,
the absolutely and strictly only reason ANYTHING like
the stage exists in contemporary degeneracy,
mircea_popescu: there's a self-obvious reason socialism existed
traditionally as
the political mode of
subsistence peasants, and
then became an urban matter once industrialization produced of idle and useless vagrants in sufficient quantities.
billymg: and still requires
the effort. it seems
the further i get from
the child-me
the more aware i am of
the child-me
that remains
billymg: that certainly describes my own
trajectory. developing out of
the socialist mindset was like any other basic developmental process, in
that it required some risk/initiative and continued effort
mircea_popescu: so i really wouldn't be worried about any eventual extermination of socialism. if you don't wash you become filthy, and if you don't
think you become a socialist.
these'll survive, being as
they are
the names for a lack. lacks are eternal.
mircea_popescu: in fact, i doubt if anything ~but~ socialism is even meaningful
to small children, much like nothing but
tit is meaningful
to even smaller ones. by extension reproduction-as-only-function females,
the dedicated mothers, grandmothers etc with no other activities or preoccupations besides
the production and early rearing of children are liable
to revert
to
their mindset and worldview.
mircea_popescu: all children are born socialist
the way
they're born dumb, deaf and iliterate, with no
taste for food and no
taste for music, with no sexual capacity or experience, acultural, amoral and so forth.
mircea_popescu: socialism can and will survive indefinitely. like ordinary filth, vermin infestation and so on, it's
the natural order, prevalent inside graves, abandoned human dwellings, any other disturbed
then neglected
terrain.
billymg: how much longer can socialism even survive in a post bitcoin world? is
the idea
to scam as much as possible before it goes away forever?
the failed forkcoin looking exactly like
the failed state
mircea_popescu: less reading deng derpy-ping, more log reading. it ain't
the 50s anymore.
mircea_popescu: working debate, proceeding usefully
towards actionable results' been a
thing for a while now.
mircea_popescu: " Non-debate
theory is my invention. Non-debate, is
to gain
time
to work hard. When you debate, everything becomes more complicated and it wastes
time. Nothing can be done. Dont debate, and just
try. Be brave and experiment." what ludicrous, half-literate, anachronistical nonsense. where's
the gook dog been living under for
the past decade, a rock in his native chinastan ?
billymg: hanbot_abroad: if you want
to
take a look i just published a
draft of
the vpatch. i
think more can be done in
terms of cleanup of
the old code but i wanted
to get some eyes on it before doing another pass
ossabot: Logged on 2020-01-27 08:25:46 hanbot_abroad: billymg what *are*
the options on footnotes, even?
billymg:
http://logs.ossasepia.com/log/trilema/2020-01-27#1957376 << ah crap, sorry i missed
this earlier.
they are more like constants (for adjusting e.g. whether you want decimal or roman numeral footnote identifiers)
that were stored in
the db because
the average wordpress luser can't be
trusted
to edit a few variables in a php file and needs checkboxes he can click instead
ericbot: Logged on 2020-01-27 13:02:26 mircea_popescu: why
the fuck are you so dedicated anyway ? wrong place, ditch
the heathens at
the FIRST sign of
trouble.