Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 18 00:23

    Blacksmoke16 on param-convert-deprecation

    First pass at param converter d… (compare)

  • May 17 23:35

    Blacksmoke16 on gh-pages

    (compare)

  • May 17 22:40
    Blacksmoke16 edited as member
  • May 16 13:26

    Blacksmoke16 on handle-exclusive-end

    (compare)

  • May 16 13:26

    Blacksmoke16 on master

    Handle exclusive end in `Range`… (compare)

  • May 16 13:26
    Blacksmoke16 closed #184
  • May 16 13:13

    Blacksmoke16 on gh-pages

    (compare)

  • May 16 02:24

    Blacksmoke16 on gh-pages

    (compare)

  • May 16 00:46

    Blacksmoke16 on gh-pages

    (compare)

  • May 16 00:37

    Blacksmoke16 on gh-pages

    (compare)

  • May 15 16:55
    Blacksmoke16 labeled #184
  • May 15 16:55
    Blacksmoke16 labeled #184
  • May 15 16:55
    Blacksmoke16 opened #184
  • May 15 16:53

    Blacksmoke16 on handle-exclusive-end

    Handle exclusive end in `Range`… (compare)

  • May 15 01:45

    Blacksmoke16 on improved-image-mime-error-message

    (compare)

  • May 15 01:45

    Blacksmoke16 on master

    Include MIME types within `Imag… (compare)

  • May 15 01:45
    Blacksmoke16 closed #183
  • May 15 01:37
    Blacksmoke16 labeled #183
  • May 15 01:37
    Blacksmoke16 labeled #183
  • May 15 01:37
    Blacksmoke16 opened #183
George Dietrich
@Blacksmoke16
should work well enough for your use case, given you're not used to/don't have any services anyway
aaaScript
@aaaScript
Yup. Should work well, though I'm not really a fan of messing with Websockets more than I have to lol
George Dietrich
@Blacksmoke16
did you look at the mercure stuff at all?
aaaScript
@aaaScript
I took a look at the docs, it seemed interesting, but I would need an all in one solution instead of the Hub that they mention.
George Dietrich
@Blacksmoke16
https://symfony.com/blog/symfony-gets-real-time-push-capabilities is PHP, but is easy enough to see how it would work. is pretty slick, doesn't cover 100% of websocket usecases, but handles the main ones of real time updates and such
not sure that would be possible as its like a daemon thing that runs in the background afaik
aaaScript
@aaaScript
That may not work smoothly with my use.
George Dietrich
@Blacksmoke16
what was the reason for not wanting external deps like that again?
aaaScript
@aaaScript
I have an application that is meant to be deployed rapidly without any dependencies.
George Dietrich
@Blacksmoke16
guess it wouldnt then
they have managed instances, but ofc that costs $$ so :shrug:
aaaScript
@aaaScript
I think being able to plug that Cable thing into Athena is pretty nifty though.
George Dietrich
@Blacksmoke16
:thumbsup: should suffice for now, related to SSL stuff could prob add another arg to allow prepending HTTP::Handler to the server
to allow using external independent handlers with athena w/o needing to rewrite/architect them
as unfortunately websockets just dont fit into how athena is designed :/
oprypin
@oprypin:matrix.org
[m]

@Blacksmoke16: i have an interesting finding on why the docs headings have degraded to have an ugly trailing whitespace.
well, it turns out that what changed wasn't the whitespace, but rather the fact that code blocks within headings now have grey background whereas previously they didn't!

i sent this message to mkdocs-material chat:

I was surprised that <code> tags within <h4> tags are now receiving styling, whereas previously that was avoided.

you can compare https://oprypin.github.io/crsfml/api/system.html (new styling, unexpected to me)
vs https://oprypin.github.io/crystal-chipmunk/vector-math.html (old styling, as i haven't updated that page in a while)

the change happened in version 8.1.5, in this commit - I wonder if that was intentional?

George Dietrich
@Blacksmoke16
oh nice! good find
curious to see what they say
oprypin
@oprypin:matrix.org
[m]
this font size differentiation was also totally accidental:
George Dietrich
@Blacksmoke16
oh wow, i didnt even notice that one
oprypin
@oprypin:matrix.org
[m]
my markup there kinda sucks - it's <code><span><code>
and now the CSS changed so font sizes are relative, so <code> font size is 85% and the nested one also gets the 85%
the addition of the margin is also accidental from the same aforementioned commit
do you think i should eliminate the margin and font size difference?
and well also whether i should eliminate the grey background in the first place
George Dietrich
@Blacksmoke16
the margin for sure, is kinda annoying having that space between method name and parans
background color id confirm it looks fine in light and dark themes?
oprypin
@oprypin:matrix.org
[m]
maybe this would be the ideal look:
this would be the minimal viable fix - and i dont really like it:
George Dietrich
@Blacksmoke16
Seems fine,
oprypin
@oprypin:matrix.org
[m]
as currently broken:
George Dietrich
@Blacksmoke16
?*
oprypin
@oprypin:matrix.org
[m]
the two-line grey background is super weird though, isn't it?
George Dietrich
@Blacksmoke16
Yes
oprypin
@oprypin:matrix.org
[m]
so maybe i just say that this is a recommended style
.doc-heading {
    background-color: var(--md-code-bg-color);
}
that's what gets you the "ideal look" that i mentioned, regardless if the code blocks are already grey lines or not
you could apply that even right now if you think it's good
other than that, i'll fix the trailing whitespace and probably remove the font size difference
George Dietrich
@Blacksmoke16
:+1: I'll give it a go. Thanks!
oprypin
@oprypin:matrix.org
[m]
ha, i noticed yet another difference.
headings used to be bold, and i added an override to make just the parenthesized part not bold.
now headings are simply not bold at all, wonder if i should put back the boldness for the main function name...
this was the intended/original look:
now it's this:
George Dietrich
@Blacksmoke16
oo i like the boldness
George Dietrich
@Blacksmoke16

so maybe i just say that this is a recommended style

.doc-heading {
    background-color: var(--md-code-bg-color);
}

yea i dont really like this

at least how it is on dark theme